Index: trunk/phase3/includes/Status.php |
— | — | @@ -254,7 +254,7 @@ |
255 | 255 | * @return Array |
256 | 256 | */ |
257 | 257 | function getErrorsArray() { |
258 | | - return $this->getStatArray( "error" ); |
| 258 | + return $this->getStatusArray( "error" ); |
259 | 259 | } |
260 | 260 | |
261 | 261 | /** |
— | — | @@ -263,7 +263,7 @@ |
264 | 264 | * @return Array |
265 | 265 | */ |
266 | 266 | function getWarningsArray() { |
267 | | - return $this->getStatArray( "warning" ); |
| 267 | + return $this->getStatusArray( "warning" ); |
268 | 268 | } |
269 | 269 | |
270 | 270 | /** |
— | — | @@ -272,7 +272,7 @@ |
273 | 273 | * |
274 | 274 | * @return Array |
275 | 275 | */ |
276 | | - protected function getStatArray( $type ) { |
| 276 | + protected function getStatusArray( $type ) { |
277 | 277 | $result = array(); |
278 | 278 | foreach ( $this->errors as $error ) { |
279 | 279 | if ( $error['type'] === $type ) { |