new function wfUpdateArray()
authorTim Starling <tstarling@users.mediawiki.org>
Tue, 23 Mar 2004 10:17:50 +0000 (10:17 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Tue, 23 Mar 2004 10:17:50 +0000 (10:17 +0000)
includes/DatabaseFunctions.php

index 90a41c4..c1452c7 100644 (file)
@@ -170,4 +170,10 @@ function wfGetArray( $table, $vars, $conds, $fname = "wfGetArray" )
        return $db->getArray( $table, $vars, $conds, $fname );
 }
 
+function wfUpdateArray( $table, $values, $conds, $fname = "wfUpdateArray" )
+{
+       $db =& wfGetDB();
+       $db->updateArray( $table, $values, $conds, $fname );
+}
+
 ?>