Ignore:
Timestamp:
Jan 23, 2015, 7:53:13 PM (9 years ago)
Author:
SergeD
Message:

version 1.1.20 - please refer to change log for more details

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/greydragon/maintain.class.php

    r30783 r30900  
    66class greydragon_maintain extends PluginMaintain {
    77
    8   private $dir;
    98  private $themeCore;
    109
     
    1312
    1413    $this->themeCore = greyDragonCore::Instance(GDTHEME_VERSION);
    15     $this->dir = PHPWG_ROOT_PATH . PWG_LOCAL_DIR . 'greydragon/';
    1614  }
    1715
     
    2018   */
    2119  function install($plugin_version, &$errors=array()) {
    22     $this->themeCore->prepareCustomCSS();
     20    $this->themeCore->update("0.0", $plugin_version);
    2321  }
    2422
     
    2725   */
    2826  function update($old_version, $new_version, &$errors=array()) {
    29     $this->install($new_version, $errors);
     27    $this->themeCore->update($old_version, $new_version);
    3028  }
    3129
     
    3432   */
    3533  function uninstall() {
    36     // delete configuration
    37     conf_delete_param('greydragon');
    38 
    39     $this->themeCore->deleteCustomCSS();
     34    $this->themeCore->uninstall();
    4035  }
    4136}
Note: See TracChangeset for help on using the changeset viewer.