From: <var...@us...> - 2012-12-17 13:32:23
|
Revision: 8666 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8666&view=rev Author: vargenau Date: 2012-12-17 13:32:16 +0000 (Mon, 17 Dec 2012) Log Message: ----------- Remove unused global Modified Paths: -------------- trunk/lib/plugin/SystemInfo.php Modified: trunk/lib/plugin/SystemInfo.php =================================================================== --- trunk/lib/plugin/SystemInfo.php 2012-12-17 12:52:50 UTC (rev 8665) +++ trunk/lib/plugin/SystemInfo.php 2012-12-17 13:32:16 UTC (rev 8666) @@ -92,7 +92,6 @@ function database() { - global $request; $s = "DATABASE_TYPE: " . DATABASE_TYPE . ", "; switch (DATABASE_TYPE) { case 'SQL': // pear @@ -126,7 +125,6 @@ function cachestats() { - global $request; if (!defined('USECACHE') or !USECACHE) return _("no cache used"); $dbi =& $this->_dbi; @@ -187,7 +185,6 @@ // easy. related to the view/edit rate in accessstats. function userstats() { - global $request; $dbi =& $this->_dbi; $h = 0; $page_iter = $dbi->getAllPages(true); @@ -264,7 +261,6 @@ // %d pages more than 100 hits (>90%) >90% percent of the mostpopular function hitstats() { - global $request; $dbi =& $this->_dbi; $hits = array(); $page_iter = $dbi->getAllPages(true); @@ -294,7 +290,7 @@ */ function revisionstats() { - global $request, $LANG; + global $LANG; include_once 'lib/WikiPluginCached.php'; $cache = WikiPluginCached::newCache(); @@ -390,7 +386,7 @@ // seperately with a seperate key. function discspace() { - global $DBParams, $request; + global $DBParams; include_once 'lib/WikiPluginCached.php'; $cache = WikiPluginCached::newCache(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |