/[drupal]/contributions/modules/imagecache_actions/imagecache_autorotate.install
ViewVC logotype

Diff of /contributions/modules/imagecache_actions/imagecache_autorotate.install

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.2.1, Fri Sep 4 23:28:04 2009 UTC revision 1.1.2.2, Mon Sep 7 07:29:14 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id$  // $Id: imagecache_autorotate.install,v 1.1.2.1 2009/09/04 23:28:04 dman Exp $
3  /**  /**
4   * @file   * @file
5   * Ensure Imagecache recognises our new actions, per http://drupal.org/node/290101.   * Ensure Imagecache recognises our new actions, per http://drupal.org/node/290101.
6   */   */
7    
8  function imagecache_autorotate_enable() {  function imagecache_autorotate_enable() {
9      if (function_exists('imagecache_action_definitions') ) imagecache_action_definitions(TRUE);
10    cache_clear_all('imagecache_actions', 'cache');    cache_clear_all('imagecache_actions', 'cache');
11  }  }
12    
13  function imagecache_autorotate_disable() {  function imagecache_autorotate_disable() {
14      if (function_exists('imagecache_action_definitions') ) imagecache_action_definitions(TRUE);
15    cache_clear_all('imagecache_actions', 'cache');    cache_clear_all('imagecache_actions', 'cache');
16  }  }

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

  ViewVC Help
Powered by ViewVC 1.1.2