From fa93b832d7e70cf79754ea4f36ed77862bd10d48 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sat, 11 Sep 2004 09:44:15 +0000 Subject: [PATCH] documentation: noting that a function is obsolete --- includes/Database.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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' ) { -- 2.20.1