Index: trunk/phase3/includes/installer/PostgresInstaller.php |
— | — | @@ -162,8 +162,7 @@ |
163 | 163 | } |
164 | 164 | |
165 | 165 | // Validate the create checkbox |
166 | | - $canCreate = $this->canCreateAccounts(); |
167 | | - if ( $canCreate ) { |
| 166 | + if ( !$this->canCreateAccounts() ) { |
168 | 167 | $this->setVar( '_CreateDBAccount', false ); |
169 | 168 | $create = false; |
170 | 169 | } else { |
— | — | @@ -287,7 +286,6 @@ |
288 | 287 | if ( $res !== true && !( $res instanceOf ResultWrapper ) ) { |
289 | 288 | $status->fatal( 'config-install-user-failed', $this->getVar( 'wgDBuser' ), $res ); |
290 | 289 | } |
291 | | - $this->db->query("ALTER USER $safeuser SET search_path = $safeschema"); |
292 | 290 | } |
293 | 291 | |
294 | 292 | return $status; |