From: Lupin Date: Tue, 7 Mar 2006 04:00:43 +0000 (+0000) Subject: undeclared globals X-Git-Tag: 1.6.0~220 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=3a7c458bd78877f1b51f32eeb4235b28bb5fa73b;p=lhc%2Fweb%2Fwiklou.git undeclared globals --- diff --git a/includes/SpecialUpload.php b/includes/SpecialUpload.php index 3bfd26eb48..5e8cdea8d1 100644 --- a/includes/SpecialUpload.php +++ b/includes/SpecialUpload.php @@ -920,7 +920,7 @@ class UploadForm { * If textual feedback is missing but a virus was found, this function returns true. */ function detectVirus($file) { - global $wgAntivirus, $wgAntivirusSetup, $wgAntivirusRequired; + global $wgAntivirus, $wgAntivirusSetup, $wgAntivirusRequired, $wgOut; $fname= "SpecialUpload::detectVirus"; diff --git a/includes/SpecialUserrights.php b/includes/SpecialUserrights.php index d71b8c49ea..60a97f8873 100644 --- a/includes/SpecialUserrights.php +++ b/includes/SpecialUserrights.php @@ -74,6 +74,7 @@ class UserrightsForm extends HTMLForm { * */ function saveUserGroups( $username, $removegroup, $addgroup) { + global $wgOut; $u = User::newFromName($username); if(is_null($u)) {