Index: trunk/phase3/includes/api/ApiBlock.php |
— | — | @@ -158,8 +158,8 @@ |
159 | 159 | ); |
160 | 160 | } |
161 | 161 | |
162 | | - public function possibleErrors() { |
163 | | - return array_merge( parent::possibleErrors(), array( |
| 162 | + public function getPossibleErrors() { |
| 163 | + return array_merge( parent::getPossibleErrors(), array( |
164 | 164 | array( 'missingparam', 'user' ), |
165 | 165 | array( 'missingparam', 'token' ), |
166 | 166 | array( 'sessionfailure' ), |
Index: trunk/phase3/includes/api/ApiBase.php |
— | — | @@ -968,7 +968,7 @@ |
969 | 969 | /** |
970 | 970 | * Returns a list of all possible errors returned by the module |
971 | 971 | */ |
972 | | - public function possibleErrors() { |
| 972 | + public function getPossibleErrors() { |
973 | 973 | $ret = array( array( 'readrequired' ) ); |
974 | 974 | |
975 | 975 | if ( $this->mustBePosted() ) { |