From: Chad Horohoe Date: Tue, 7 Apr 2009 15:56:26 +0000 (+0000) Subject: Remove some unused $wgOut's. X-Git-Tag: 1.31.0-rc.0~42202 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=2664b438f101b84b4156d599054d03a828e458e9;p=lhc%2Fweb%2Fwiklou.git Remove some unused $wgOut's. --- diff --git a/includes/FeedUtils.php b/includes/FeedUtils.php index 38bff363f5..9a2a724058 100644 --- a/includes/FeedUtils.php +++ b/includes/FeedUtils.php @@ -13,7 +13,7 @@ class FeedUtils { } public static function checkFeedOutput( $type ) { - global $wgFeed, $wgOut, $wgFeedClasses; + global $wgFeed, $wgFeedClasses; if ( !$wgFeed ) { global $wgOut; diff --git a/includes/ProtectionForm.php b/includes/ProtectionForm.php index 5fe3cbc72c..102c297697 100644 --- a/includes/ProtectionForm.php +++ b/includes/ProtectionForm.php @@ -218,7 +218,7 @@ class ProtectionForm { } function save() { - global $wgRequest, $wgUser, $wgOut; + global $wgRequest, $wgUser; # Permission check! if ( $this->disabled ) { $this->show(); diff --git a/includes/db/DatabaseSqlite.php b/includes/db/DatabaseSqlite.php index 7a5956973f..a4efca73d4 100644 --- a/includes/db/DatabaseSqlite.php +++ b/includes/db/DatabaseSqlite.php @@ -21,7 +21,7 @@ class DatabaseSqlite extends Database { * Constructor */ function __construct($server = false, $user = false, $password = false, $dbName = false, $failFunction = false, $flags = 0) { - global $wgOut,$wgSQLiteDataDir, $wgSQLiteDataDirMode; + global $wgSQLiteDataDir, $wgSQLiteDataDirMode; if ("$wgSQLiteDataDir" == '') $wgSQLiteDataDir = dirname($_SERVER['DOCUMENT_ROOT']).'/data'; if (!is_dir($wgSQLiteDataDir)) wfMkdirParents( $wgSQLiteDataDir, $wgSQLiteDataDirMode ); $this->mFailFunction = $failFunction; diff --git a/skins/CologneBlue.php b/skins/CologneBlue.php index e3dc1b4c60..4fdffc1484 100644 --- a/skins/CologneBlue.php +++ b/skins/CologneBlue.php @@ -64,7 +64,7 @@ class SkinCologneBlue extends Skin { } function doAfterContent(){ - global $wgOut, $wgLang; + global $wgLang; $s = "\n
\n";