Index: trunk/extensions/SemanticMediaWiki/includes/api/ApiSMWInfo.php |
— | — | @@ -86,11 +86,6 @@ |
87 | 87 | 'API module get info about this SMW install.' |
88 | 88 | ); |
89 | 89 | } |
90 | | - |
91 | | - public function getPossibleErrors() { |
92 | | - return array_merge( parent::getPossibleErrors(), array( |
93 | | - ) ); |
94 | | - } |
95 | 90 | |
96 | 91 | protected function getExamples() { |
97 | 92 | return array( |
Index: trunk/extensions/SemanticMediaWiki/includes/api/ApiAskArgs.php |
— | — | @@ -80,11 +80,6 @@ |
81 | 81 | This API module is in alpha stage, and likely to see changes in upcomming versions of SMW.' |
82 | 82 | ); |
83 | 83 | } |
84 | | - |
85 | | - public function getPossibleErrors() { |
86 | | - return array_merge( parent::getPossibleErrors(), array( |
87 | | - ) ); |
88 | | - } |
89 | 84 | |
90 | 85 | protected function getExamples() { |
91 | 86 | return array( |
Index: trunk/extensions/SemanticMediaWiki/includes/api/ApiSMWQuery.php |
— | — | @@ -75,11 +75,7 @@ |
76 | 76 | } |
77 | 77 | } |
78 | 78 | |
79 | | - public function getPossibleErrors() { |
80 | | - return array_merge( parent::getPossibleErrors(), array( |
81 | | - ) ); |
82 | | - } |
83 | | - |
| 79 | + /// TODO: when < 1.17 are no longer supported, use ApiBase::PARAM_REQUIRED |
84 | 80 | protected function requireParameters( array $params, array $required ) { |
85 | 81 | foreach ( $required as $param ) { |
86 | 82 | if ( !isset( $params[$param] ) ) { |
Index: trunk/extensions/SemanticMediaWiki/includes/api/ApiAsk.php |
— | — | @@ -52,11 +52,6 @@ |
53 | 53 | This API module is in alpha stage, and likely to see changes in upcomming versions of SMW.' |
54 | 54 | ); |
55 | 55 | } |
56 | | - |
57 | | - public function getPossibleErrors() { |
58 | | - return array_merge( parent::getPossibleErrors(), array( |
59 | | - ) ); |
60 | | - } |
61 | 56 | |
62 | 57 | protected function getExamples() { |
63 | 58 | return array( |