Beispiel #1
0
 /**
  * Updates the version of the bundle
  * @param string $bundle The bundle name
  */
 private function UpdateBundleVersion($bundle)
 {
     $instBundle = InstalledBundle::Schema()->ByBundle($bundle);
     if (!$instBundle) {
         $instBundle = new InstalledBundle();
     }
     $instBundle->SetVersion($this->installedBundles[$bundle]);
     $instBundle->SetBundle($bundle);
     $instBundle->SetLastUpdate(Date::Now());
     $instBundle->Save();
 }