Ignore:
Timestamp:
Jun 24, 2012, 9:16:25 PM (12 years ago)
Author:
grum
Message:

feature:2639- compatibility with Piwigo 2.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/ColorStat/cstat_root.class.inc.php

    r15350 r16010  
    2020  include_once('cstat_colorstat.class.inc.php');
    2121  include_once(PHPWG_PLUGINS_PATH.'GrumPluginClasses/classes/CommonPlugin.class.inc.php');
    22   include_once(PHPWG_PLUGINS_PATH.'GrumPluginClasses/classes/GPCCss.class.inc.php');
    2322  include_once(PHPWG_PLUGINS_PATH.'GrumPluginClasses/classes/GPCAjax.class.inc.php');
    2423
     
    3029    static public $colorTableSize=Array('small' => Array(30,20), 'large' => Array(10,10));
    3130
    32     protected $css;   //the css object
    33 
    3431    public function __construct($prefixeTable, $filelocation)
    3532    {
     
    4037
    4138      $this->setTablesList(self::$pluginTables);
    42 
    43 
    44       $this->css = new GPCCss(dirname($this->getFileLocation()).'/'.$this->getPluginNameFiles().".css");
    45     }
    46 
    47     public function __destruct()
    48     {
    49       unset($this->css);
    50       parent::__destruct();
    51     }
    52 
    53     public function initEvents()
    54     {
    55       parent::initEvents();
    56       add_event_handler('blockmanager_register_blocks', array(&$this, 'register_blocks') );
    57     }
    58 
    59     /*
    60       menu block management
    61     */
    62     public function register_blocks()
    63     {
    6439    }
    6540
Note: See TracChangeset for help on using the changeset viewer.