예제 #1
0
 public function upgrade()
 {
     $pkg = Package::getByHandle('vivid_store');
     if (version_compare($pkg->getPackageVersion(), '3.1.2', '<')) {
         Installer::upgrade($pkg);
     }
     parent::upgrade();
     $this->installStore();
 }
예제 #2
0
 public function upgrade()
 {
     $pkg = Package::getByHandle('vivid_store');
     Installer::upgrade($pkg);
     $this->installStore();
 }