From: Tim Starling Date: Sat, 11 Sep 2004 09:44:15 +0000 (+0000) Subject: documentation: noting that a function is obsolete X-Git-Tag: 1.5.0alpha1~2023 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22messagerie%22%29%20.%20%22?a=commitdiff_plain;h=fa93b832d7e70cf79754ea4f36ed77862bd10d48;p=lhc%2Fweb%2Fwiklou.git documentation: noting that a function is obsolete --- diff --git a/includes/Database.php b/includes/Database.php index f7c33dd55c..83ff4e3a9e 100644 --- a/includes/Database.php +++ b/includes/Database.php @@ -429,11 +429,13 @@ class Database { function affectedRows() { return mysql_affected_rows( $this->mConn ); } /**#@-*/ // end of template : @param $result - /** * Simple UPDATE wrapper * Usually aborts on failure * If errors are explicitly ignored, returns success + * + * This function exists for historical reasons, Database::update() has a more standard + * calling convention and feature set */ function set( $table, $var, $value, $cond, $fname = 'Database::set' ) {