Fixed a regression in the deletion (and simplified the algorithm, though more queries will be issued)

SVN:trunk[1142]
This commit is contained in:
Romain Quetiez
2011-03-23 08:38:49 +00:00
parent 8f4ee29c69
commit 3790c8f7d5
2 changed files with 29 additions and 5 deletions

View File

@@ -243,6 +243,11 @@ class CMDBSource
return false;
}
public static function DeleteFrom($sSQLQuery)
{
self::Query($sSQLQuery);
}
public static function QueryToScalar($sSql)
{
$result = mysql_query($sSql, self::$m_resDBLink);