From 2664b438f101b84b4156d599054d03a828e458e9 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Tue, 7 Apr 2009 15:56:26 +0000 Subject: [PATCH] Remove some unused $wgOut's. --- includes/FeedUtils.php | 2 +- includes/ProtectionForm.php | 2 +- includes/db/DatabaseSqlite.php | 2 +- skins/CologneBlue.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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"; -- 2.20.1