Remove some unused $wgOut's.
authorChad Horohoe <demon@users.mediawiki.org>
Tue, 7 Apr 2009 15:56:26 +0000 (15:56 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Tue, 7 Apr 2009 15:56:26 +0000 (15:56 +0000)
includes/FeedUtils.php
includes/ProtectionForm.php
includes/db/DatabaseSqlite.php
skins/CologneBlue.php

index 38bff36..9a2a724 100644 (file)
@@ -13,7 +13,7 @@ class FeedUtils {
        }
 
        public static function checkFeedOutput( $type ) {
-               global $wgFeed, $wgOut, $wgFeedClasses;
+               global $wgFeed, $wgFeedClasses;
 
                if ( !$wgFeed ) {
                        global $wgOut;
index 5fe3cbc..102c297 100644 (file)
@@ -218,7 +218,7 @@ class ProtectionForm {
        }
 
        function save() {
-               global $wgRequest, $wgUser, $wgOut;
+               global $wgRequest, $wgUser;
                # Permission check!
                if ( $this->disabled ) {
                        $this->show();
index 7a59569..a4efca7 100644 (file)
@@ -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;
index e3dc1b4..4fdffc1 100644 (file)
@@ -64,7 +64,7 @@ class SkinCologneBlue extends Skin {
        }
 
        function doAfterContent(){
-               global $wgOut, $wgLang;
+               global $wgLang;
 
                $s = "\n</div><br clear='all' />\n";