MDL-14679 converted some delete_records

This commit is contained in:
skodak
2008-06-02 21:52:27 +00:00
parent c7da43571b
commit 8618fd2aeb
11 changed files with 20 additions and 22 deletions
+1 -1
View File
@@ -52,7 +52,7 @@
if ($action=='DeleteDB') {
if ($texcache) {
$output = "Deleting DB cache_filters entry for $texexp\n";
$result = delete_records("cache_filters","id",$texcache->id);
$result = $DB->delete_records("cache_filters", array("id"=>$texcache->id));
if ($result) {
$result = 1;
} else {