From: <var...@us...> - 2014-12-09 15:10:17
|
Revision: 9438 http://sourceforge.net/p/phpwiki/code/9438 Author: vargenau Date: 2014-12-09 15:10:09 +0000 (Tue, 09 Dec 2014) Log Message: ----------- Remove unused Modified Paths: -------------- trunk/lib/IniConfig.php Modified: trunk/lib/IniConfig.php =================================================================== --- trunk/lib/IniConfig.php 2014-12-09 10:56:24 UTC (rev 9437) +++ trunk/lib/IniConfig.php 2014-12-09 15:10:09 UTC (rev 9438) @@ -354,9 +354,11 @@ foreach (array('major', 'minor', 'author') as $major) { foreach (array('max_age', 'min_age', 'min_keep', 'keep', 'max_keep') as $max) { $item = strtoupper($major) . '_' . strtoupper($max); - if (defined($item)) $val = constant($item); + if (defined($item)) + $val = constant($item); elseif (array_key_exists($item, $rs)) - $val = $rs[$item]; elseif (array_key_exists($item, $rsdef)) + $val = $rs[$item]; + elseif (array_key_exists($item, $rsdef)) $val = $rsdef[$item]; if (!isset($ExpireParams[$major])) $ExpireParams[$major] = array(); @@ -570,8 +572,8 @@ // moved from lib/config.php [1ms] function fixup_static_configs($file) { - global $FieldSeparator, $WikiNameRegexp, $AllActionPages; - global $DBParams, $LANG, $ErrorManager; + global $FieldSeparator, $AllActionPages; + global $DBParams; // init FileFinder to add proper include paths FindFile("lib/interwiki.map", true); @@ -847,8 +849,7 @@ */ function fixup_dynamic_configs() { - global $WikiNameRegexp; - global $DBParams, $LANG; + global $LANG; if (defined('INCLUDE_PATH') and INCLUDE_PATH) { @ini_set('include_path', INCLUDE_PATH); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |