function imagecache_autorotate_enable in ImageCache Actions 6
Same name and namespace in other branches
- 6.2 autorotate/imagecache_autorotate.install \imagecache_autorotate_enable()
@file Ensure Imagecache recognises our new actions, per http://drupal.org/node/290101.
File
- ./
imagecache_autorotate.install, line 7 - Ensure Imagecache recognises our new actions, per http://drupal.org/node/290101.
Code
function imagecache_autorotate_enable() {
if (function_exists('imagecache_action_definitions')) {
imagecache_action_definitions(TRUE);
}
cache_clear_all('imagecache_actions', 'cache');
}