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