From: <ru...@us...> - 2010-06-08 08:15:55
|
Revision: 7490 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7490&view=rev Author: rurban Date: 2010-06-08 08:15:49 +0000 (Tue, 08 Jun 2010) Log Message: ----------- simplify if GFORGE Modified Paths: -------------- trunk/lib/WikiTheme.php Modified: trunk/lib/WikiTheme.php =================================================================== --- trunk/lib/WikiTheme.php 2010-06-08 06:27:08 UTC (rev 7489) +++ trunk/lib/WikiTheme.php 2010-06-08 08:15:49 UTC (rev 7490) @@ -223,7 +223,7 @@ return; } $this->addMoreHeaders(JavaScript('',array('src' => $this->_findData("wikicommon.js")))); - if (!DEBUG and (!defined('GFORGE') or !GFORGE)) { + if (!DEBUG and !GFORGE) { // Gforge and non-debug already load this $this->addMoreHeaders(JavaScript('',array('src' => $this->_findData("sortable.js")))); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |