Merge "Remove wrong type from @param on ContentHandler::merge3"
[lhc/web/wiklou.git] / includes / api / ApiOptions.php
index 86d051a..8ac9b9a 100644 (file)
@@ -157,18 +157,6 @@ class ApiOptions extends ApiBase {
                );
        }
 
-       public function getResultProperties() {
-               return array(
-                       '' => array(
-                               '*' => array(
-                                       ApiBase::PROP_TYPE => array(
-                                               'success'
-                                       )
-                               )
-                       )
-               );
-       }
-
        public function getParamDescription() {
                return array(
                        'token' => 'An options token previously obtained through the action=tokens',
@@ -194,13 +182,6 @@ class ApiOptions extends ApiBase {
                );
        }
 
-       public function getPossibleErrors() {
-               return array_merge( parent::getPossibleErrors(), array(
-                       array( 'code' => 'notloggedin', 'info' => 'Anonymous users cannot change preferences' ),
-                       array( 'code' => 'nochanges', 'info' => 'No changes were requested' ),
-               ) );
-       }
-
        public function needsToken() {
                return true;
        }