r97128 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r97127‎ | r97128 | r97129 >
Date:00:26, 15 September 2011
Author:jeroendedauw
Status:ok
Tags:
Comment:
rem stupid code
Modified paths:
  • /trunk/extensions/Survey/api/ApiQuerySurveyAnswers.php (modified) (history)
  • /trunk/extensions/Survey/api/ApiQuerySurveySubmissions.php (modified) (history)
  • /trunk/extensions/Survey/api/ApiQuerySurveys.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Survey/api/ApiQuerySurveySubmissions.php
@@ -72,14 +72,6 @@
7373 );
7474 }
7575
76 - public function needsToken() {
77 - return true;
78 - }
79 -
80 - public function getTokenSalt() {
81 - return 'querysurveysubmissions';
82 - }
83 -
8476 /**
8577 * (non-PHPdoc)
8678 * @see includes/api/ApiBase#getAllowedParams()
Index: trunk/extensions/Survey/api/ApiQuerySurveyAnswers.php
@@ -72,14 +72,6 @@
7373 );
7474 }
7575
76 - public function needsToken() {
77 - return true;
78 - }
79 -
80 - public function getTokenSalt() {
81 - return 'querysurveyanswers';
82 - }
83 -
8476 /**
8577 * (non-PHPdoc)
8678 * @see includes/api/ApiBase#getAllowedParams()
Index: trunk/extensions/Survey/api/ApiQuerySurveys.php
@@ -116,14 +116,6 @@
117117 return $survey;
118118 }
119119
120 - public function needsToken() {
121 - return true;
122 - }
123 -
124 - public function getTokenSalt() {
125 - return 'querysurveys';
126 - }
127 -
128120 /**
129121 * (non-PHPdoc)
130122 * @see includes/api/ApiBase#getAllowedParams()

Follow-up revisions

RevisionCommit summaryAuthorDate
r97169Follow up to r97128;jeroendedauw16:07, 15 September 2011
r97170Follow up to r97128;jeroendedauw16:09, 15 September 2011
r97173Merged revisions 97087,97091-97092,97094,97096-97098,97100-97101,97103,97136,...dantman16:19, 15 September 2011

Status & tagging log