used in redirects (i.e. they now work)
* (bug 8878) Changes to $dateFormats in German localization (removing unused,
nonexistent formats, putting time after date)
+* (bug 10769) Database::update() should return boolean result
== API changes since 1.10 ==
* (for the log)
* @param array $options An array of UPDATE options, can be one or
* more of IGNORE, LOW_PRIORITY
+ * @return bool
*/
function update( $table, $values, $conds, $fname = 'Database::update', $options = array() ) {
$table = $this->tableName( $table );
if ( $conds != '*' ) {
$sql .= " WHERE " . $this->makeList( $conds, LIST_AND );
}
- $this->query( $sql, $fname );
+ return $this->query( $sql, $fname );
}
/**