Plugin Directory

Changeset 1025874


Ignore:
Timestamp:
11/14/2014 05:52:58 PM (11 years ago)
Author:
syntaxart
Message:

Updated the initialize

Location:
restaurant-manager
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • restaurant-manager/tags/v1.2.1/class-initialize.php

    r1025867 r1025874  
    4242
    4343            // Perform any version-upgrade events prior to activation (e.g. database changes)
    44             $this->_plugin->upgrade();
     44            //$this->_plugin->upgrade();
    4545
    4646            if (!$this->_plugin->is_installed()) {
     
    8282            //check if the plugin is installed before running
    8383            if ($this->_plugin->is_installed()) {
     84               
     85                $this->_plugin->upgrade();
    8486
    8587                $taurus_shortcode_extensions = new shortcode_extensions();
  • restaurant-manager/trunk/class-initialize.php

    r1025867 r1025874  
    4242
    4343            // Perform any version-upgrade events prior to activation (e.g. database changes)
    44             $this->_plugin->upgrade();
     44            //$this->_plugin->upgrade();
    4545
    4646            if (!$this->_plugin->is_installed()) {
     
    8282            //check if the plugin is installed before running
    8383            if ($this->_plugin->is_installed()) {
     84               
     85                $this->_plugin->upgrade();
    8486
    8587                $taurus_shortcode_extensions = new shortcode_extensions();
Note: See TracChangeset for help on using the changeset viewer.