From: Roan Kattouw Date: Tue, 4 Dec 2007 20:36:38 +0000 (+0000) Subject: What was I smoking when I made execute() private?!? X-Git-Tag: 1.31.0-rc.0~50550 X-Git-Url: https://git.cyclocoop.org//%22?a=commitdiff_plain;h=31027800e993824c22efa982417466515e07c254;p=lhc%2Fweb%2Fwiklou.git What was I smoking when I made execute() private?!? --- diff --git a/includes/api/ApiQueryDeletedrevs.php b/includes/api/ApiQueryDeletedrevs.php index fd80823277..39ae80803e 100644 --- a/includes/api/ApiQueryDeletedrevs.php +++ b/includes/api/ApiQueryDeletedrevs.php @@ -39,7 +39,7 @@ class ApiQueryDeletedrevs extends ApiQueryBase { parent :: __construct($query, $moduleName, 'dr'); } - private function execute() { + public function execute() { global $wgUser; // Before doing anything at all, let's check permissions