Index: trunk/phase3/includes/db/DatabaseSqlite.php |
— | — | @@ -37,7 +37,7 @@ |
38 | 38 | $this->mName = $dbName; |
39 | 39 | parent::__construct( $server, $user, $password, $dbName, $flags ); |
40 | 40 | // parent doesn't open when $user is false, but we can work with $dbName |
41 | | - if( !$user && $dbName ) { |
| 41 | + if( $dbName ) { |
42 | 42 | global $wgSharedDB; |
43 | 43 | if( $this->open( $server, $user, $password, $dbName ) && $wgSharedDB ) { |
44 | 44 | $this->attachDatabase( $wgSharedDB ); |