// Remove bad _SQL_USE_SLAVE_ uses + normalize Db->executeS(), Db->execute() and Db->numRows() names

This commit is contained in:
rMalie
2011-10-10 12:18:56 +00:00
parent 149c814a45
commit 9510337b1d
280 changed files with 1971 additions and 1966 deletions
@@ -92,7 +92,7 @@ class MRManagement extends MondialRelay
$query .= '"'.pSQL($value).'", ';
$query = rtrim($query, ', ').')';
}
Db::getInstance()->Execute($query);
Db::getInstance()->execute($query);
}
public function uninstallDetail()
@@ -143,7 +143,7 @@ class MRManagement extends MondialRelay
$query = trim($query, ', ').')';
$success['deletedListId'] = $this->_params['historyIdList'];
$totalDeleted = Db::getInstance()->Execute($query);
$totalDeleted = Db::getInstance()->execute($query);
if (count($success['deletedListId']) != $totalDeleted)
{
$error[] = $this->l('Some items can\'t be removed, please try to remove it again');