public function upgrade()
 {
     parent::upgrade();
     $bt = BlockType::getByHandle('code_snippet');
     $btSet = BlockTypeSet::getByHandle('basic');
     if (is_object($bt) && is_object($btSet)) {
         $btSet->addBlockType($bt);
     }
 }
 public function upgrade()
 {
     parent::upgrade();
     $pkg = \Package::getByHandle('migration_tool');
     $this->installSinglePages($pkg);
     $this->installPageTypes($pkg);
 }
Beispiel #3
0
 public function upgrade()
 {
     $pkg = Package::getByHandle('designer_content');
     $this->_upgrade($pkg);
     parent::upgrade();
 }
 /**
  * Upgrades a package's database and refreshes all blocks.
  */
 public function upgrade()
 {
     return parent::upgrade();
 }
 public function upgrade()
 {
     parent::upgrade();
     $pkg = \Package::getByHandle($this->pkgHandle);
     $this->configurePackage($pkg);
 }
 public function upgrade()
 {
     $this->pkg = parent::upgrade();
     $this->clearSampleData();
     $this->installOrUpgrade();
 }