Cleanup r69128, getStatArray() -> getStatusArray(). It's two characters, c'mon
authorChad Horohoe <demon@users.mediawiki.org>
Sat, 10 Jul 2010 09:26:42 +0000 (09:26 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Sat, 10 Jul 2010 09:26:42 +0000 (09:26 +0000)
includes/Status.php

index 08f7484..b689931 100644 (file)
@@ -254,7 +254,7 @@ class Status {
         * @return Array
         */
        function getErrorsArray() {
-               return $this->getStatArray( "error" );
+               return $this->getStatusArray( "error" );
        }
 
        /**
@@ -263,7 +263,7 @@ class Status {
         * @return Array
         */
        function getWarningsArray() {
-               return $this->getStatArray( "warning" );
+               return $this->getStatusArray( "warning" );
        }
 
        /**
@@ -272,7 +272,7 @@ class Status {
         *
         * @return Array
         */
-       protected function getStatArray( $type ) {
+       protected function getStatusArray( $type ) {
                $result = array();
                foreach ( $this->errors as $error ) {
                        if ( $error['type'] === $type ) {