Removed unused global declaration of $wgFileStore and $wgUseSquid in RevisionDeleter...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 25 Apr 2008 19:49:35 +0000 (19:49 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 25 Apr 2008 19:49:35 +0000 (19:49 +0000)
includes/SpecialRevisiondelete.php

index cc6935a..bb21662 100644 (file)
@@ -1135,8 +1135,6 @@ class RevisionDeleter {
         * @returns mixed, timestamp string on success, false on failure
         */
        function makeOldImagePrivate( $oimage ) {
-               global $wgFileStore, $wgUseSquid;
-
                $transaction = new FSTransaction();
                if( !FileStore::lock() ) {
                        wfDebug( __METHOD__.": failed to acquire file store lock, aborting\n" );
@@ -1188,8 +1186,6 @@ class RevisionDeleter {
         * @returns mixed, string timestamp on success, false on failure
         */
        function makeOldImagePublic( $oimage ) {
-               global $wgFileStore;
-
                $transaction = new FSTransaction();
                if( !FileStore::lock() ) {
                        wfDebug( __METHOD__." could not acquire filestore lock\n" );