From b0efc1a61c0b685818d6eb330b16320c3fb2fd1d Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Fri, 3 Dec 2010 09:40:11 +0000 Subject: [PATCH] Per MaxSem CR on r77597, make $alias paramater optional, as per the documentation --- includes/db/Database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.20.1