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();
    }
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();
    }
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 ( ) ; }
Updates the version of the bundle
@param string $bundle The bundle name
Updates the version of the bundle