BUG 11835 : Assignment rules after upgrade to 2.0.46

Sol: Adding patch for next versions usign SELF_SERVICE.
This commit is contained in:
ralpheav
2013-06-05 10:08:40 -04:00
parent 793667712d
commit cdb43f480c
5 changed files with 91 additions and 6 deletions

View File

@@ -598,13 +598,17 @@ class workspaceTools
* @param bool $checkOnly only check if the upgrade is needed if true
* @return array bool upgradeSchema for more information
*/
public function upgradeDatabase($checkOnly = false)
public function upgradeDatabase ($checkOnly = false)
{
G::LoadClass("patch");
$this->initPropel( true );
patch::is_11835Applicable();
$systemSchema = System::getSystemSchema();
$this->upgradeSchema($systemSchema);
$this->upgradeSchema( $systemSchema );
$this->upgradeData();
patch::execute_11835();
return true;
}
}
/**
* Upgrade this workspace database from a schema