Index: trunk/phase3/includes/installer/PostgresInstaller.php |
— | — | @@ -138,10 +138,10 @@ |
139 | 139 | ); |
140 | 140 | |
141 | 141 | if( !$rights || ( $rights != 1 && $rights != 3 ) ) { |
142 | | - $status = Status::newFatal("can't create"); |
| 142 | + return false; |
143 | 143 | } |
144 | 144 | |
145 | | - return $status; |
| 145 | + return true; |
146 | 146 | } |
147 | 147 | |
148 | 148 | public function getSettingsForm() { |
— | — | @@ -164,7 +164,7 @@ |
165 | 165 | // Validate the create checkbox |
166 | 166 | $create = true; |
167 | 167 | $canCreate = $this->canCreateAccounts(); |
168 | | - if ( !$canCreate->isOK() ) { |
| 168 | + if ( $canCreate ) { |
169 | 169 | $this->setVar( '_CreateDBAccount', false ); |
170 | 170 | $create = false; |
171 | 171 | } else { |