From: Sam Reed Date: Mon, 20 Jun 2011 22:16:22 +0000 (+0000) Subject: Followup r90487, kill $result=null in middle X-Git-Tag: 1.31.0-rc.0~29389 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=09e63f9f53ab82d9f5920aa21ce45bbe30e4124b;p=lhc%2Fweb%2Fwiklou.git Followup r90487, kill $result=null in middle --- diff --git a/includes/api/ApiEditPage.php b/includes/api/ApiEditPage.php index 9be14f1c4c..b758778d9e 100644 --- a/includes/api/ApiEditPage.php +++ b/includes/api/ApiEditPage.php @@ -266,7 +266,6 @@ class ApiEditPage extends ApiBase { // Do the actual save $oldRevId = $articleObj->getRevIdFetched(); - $result = null; // Fake $wgRequest for some hooks inside EditPage // @todo FIXME: This interface SUCKS $oldRequest = $wgRequest;