From: Tim Starling Date: Tue, 23 Mar 2004 10:17:50 +0000 (+0000) Subject: new function wfUpdateArray() X-Git-Tag: 1.3.0beta1~734 X-Git-Url: http://git.cyclocoop.org///%22%40url%40//%22?a=commitdiff_plain;h=cc73aa698b79d456a2050ec843e1d66b273fd1e5;p=lhc%2Fweb%2Fwiklou.git new function wfUpdateArray() --- diff --git a/includes/DatabaseFunctions.php b/includes/DatabaseFunctions.php index 90a41c4cba..c1452c7dc7 100644 --- a/includes/DatabaseFunctions.php +++ b/includes/DatabaseFunctions.php @@ -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 ); +} + ?>