Ignore:
Timestamp:
Mar 16, 2014, 7:16:27 PM (10 years ago)
Author:
Miklfe
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/MyPiwiShop/maintain.inc.php

    r27743 r27781  
    7474        ;');
    7575       
    76             $this->installed = true;
    77 
     76        $this->installed = true;
    7877  } 
    7978       
    80 
    81   /**
    82    * plugin activation
    83    */
    84    function activate($plugin_version, &$errors=array())
     79  function activate($plugin_version, &$errors=array())
    8580  {
    86 
    87    if (!$this->installed)
    88     {
    89       $this->install($plugin_version, $errors);
    90     }
     81   if (!$this->installed) {
     82    $this->install($plugin_version, $errors);
     83   }
    9184  }
    9285 
     
    9588  }
    9689
    97 
    98   /**
    99    * plugin uninstallation
    100    */
    10190  function uninstall()
    10291  {
     
    10998    pwg_query('DROP TABLE `'. $prefixeTable .'mps_opt_val`;');
    11099    pwg_query('DROP TABLE `'. $prefixeTable .'mps_prod_opt`;');
    111  }
     100  }
    112101}
    113102
Note: See TracChangeset for help on using the changeset viewer.