From: <var...@us...> - 2014-09-18 13:32:56
|
Revision: 9090 http://sourceforge.net/p/phpwiki/code/9090 Author: vargenau Date: 2014-09-18 13:32:54 +0000 (Thu, 18 Sep 2014) Log Message: ----------- Remove debug Modified Paths: -------------- trunk/lib/plugin/AllPages.php Modified: trunk/lib/plugin/AllPages.php =================================================================== --- trunk/lib/plugin/AllPages.php 2014-09-18 13:32:14 UTC (rev 9089) +++ trunk/lib/plugin/AllPages.php 2014-09-18 13:32:54 UTC (rev 9090) @@ -44,7 +44,6 @@ 'noheader' => false, 'include_empty' => false, 'info' => '', - 'debug' => false, 'userpages' => false )); } @@ -60,9 +59,6 @@ $pages = false; // Todo: extend given _GET args - if (DEBUG && $args['debug']) { - $timer = new DebugTimer; - } $caption = _("All pages in this wiki (%d total):"); if (!empty($args['userpages'])) { @@ -129,12 +125,7 @@ else $pagelist->addPages($dbi->getAllPages($args['include_empty'], $args['sortby'], $args['limit'])); - if (DEBUG && $args['debug']) { - return HTML($pagelist, - HTML::p(fmt("Elapsed time: %s s", $timer->getStats()))); - } else { - return $pagelist; - } + return $pagelist; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |