From: Sam Reed Date: Wed, 25 Aug 2010 18:50:36 +0000 (+0000) Subject: Replace todo with documentation with partial X-Git-Tag: 1.31.0-rc.0~35322 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=931d48c3fc07df9b8f6db75886a85c69bfa6af2d;p=lhc%2Fweb%2Fwiklou.git Replace todo with documentation with partial Move brace --- diff --git a/includes/db/Database.php b/includes/db/Database.php index 2efff737b7..ce25034b49 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -861,8 +861,7 @@ abstract class DatabaseBase { * (e.g. array( 'page' => array('LEFT JOIN','page_latest=rev_id') ) * @return mixed Database result resource (feed to DatabaseBase::fetchObject or whatever), or false on failure */ - function select( $table, $vars, $conds='', $fname = 'DatabaseBase::select', $options = array(), $join_conds = array() ) - { + function select( $table, $vars, $conds='', $fname = 'DatabaseBase::select', $options = array(), $join_conds = array() ) { $sql = $this->selectSQLText( $table, $vars, $conds, $fname, $options, $join_conds ); return $this->query( $sql, $fname ); } @@ -1638,7 +1637,10 @@ abstract class DatabaseBase { * However if you do this, you run the risk of encountering errors which wouldn't have * occurred in MySQL * - * @todo migrate comment to phodocumentor format + * @param $table String: The table to replace the row(s) in. + * @param $uniqueIndexes String: + * @param $rows Array: Array of rows to replace + * @param $fname String: Calling function name (use __METHOD__) for logs/profiling */ function replace( $table, $uniqueIndexes, $rows, $fname = 'DatabaseBase::replace' ) { $table = $this->tableName( $table );