Remove unused global.
authorChad Horohoe <demon@users.mediawiki.org>
Sat, 2 Aug 2008 08:10:45 +0000 (08:10 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Sat, 2 Aug 2008 08:10:45 +0000 (08:10 +0000)
includes/Article.php

index 70e423d..d6809bf 100644 (file)
@@ -1829,7 +1829,6 @@ class Article {
 
                # If nothing's changed, do nothing
                if( $changed ) {
-                       global $wgGroupPermissions;
                        if( wfRunHooks( 'ArticleProtect', array( &$this, &$wgUser, $limit, $reason ) ) ) {
 
                                $dbw = wfGetDB( DB_MASTER );