* Removing some globals that seem unused
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Sat, 13 Oct 2007 11:40:42 +0000 (11:40 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Sat, 13 Oct 2007 11:40:42 +0000 (11:40 +0000)
includes/GlobalFunctions.php

index 38f0753..52b07d4 100644 (file)
@@ -8,20 +8,6 @@ if ( !defined( 'MEDIAWIKI' ) ) {
  * Global functions used everywhere
  */
 
-/**
- * Some globals and requires needed
- */
-
-/** Total number of articles */
-$wgNumberOfArticles = -1; # Unset
-
-/** Total number of views */
-$wgTotalViews = -1;
-
-/** Total number of edits */
-$wgTotalEdits = -1;
-
-
 require_once dirname(__FILE__) . '/LogPage.php';
 require_once dirname(__FILE__) . '/normal/UtfNormalUtil.php';
 require_once dirname(__FILE__) . '/XmlFunctions.php';
@@ -111,11 +97,6 @@ function wfClone( $object ) {
        return clone( $object );
 }
 
-/**
- * Where as we got a random seed
- */
-$wgRandomSeeded = false;
-
 /**
  * Seed Mersenne Twister
  * No-op for compatibility; only necessary in PHP < 4.2.0