From: Sam Reed Date: Fri, 3 Dec 2010 09:40:11 +0000 (+0000) Subject: Per MaxSem CR on r77597, make $alias paramater optional, as per the documentation X-Git-Tag: 1.31.0-rc.0~33623 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=b0efc1a61c0b685818d6eb330b16320c3fb2fd1d;p=lhc%2Fweb%2Fwiklou.git Per MaxSem CR on r77597, make $alias paramater optional, as per the documentation --- diff --git a/includes/db/Database.php b/includes/db/Database.php index bffde85db1..1543489874 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -1581,7 +1581,7 @@ abstract class DatabaseBase implements DatabaseType { * @param $alias string Alias (optional) * @return string SQL name for aliased table. Will not alias a table to its own name */ - public function tableNameWithAlias( $name, $alias ) { + public function tableNameWithAlias( $name, $alias = false ) { if ( !$alias || $alias == $name ) { return $this->tableName( $name ); } else {