From: <nuc...@us...> - 2007-11-15 15:06:02
|
Revision: 4756 http://mantisbt.svn.sourceforge.net/mantisbt/?rev=4756&view=rev Author: nuclear_eclipse Date: 2007-11-15 07:05:52 -0800 (Thu, 15 Nov 2007) Log Message: ----------- Fix for my stupidity in 'fixing' the wrong config_get_global() call Modified Paths: -------------- trunk/mantisbt/core/plugin_api.php Modified: trunk/mantisbt/core/plugin_api.php =================================================================== --- trunk/mantisbt/core/plugin_api.php 2007-11-15 15:01:09 UTC (rev 4755) +++ trunk/mantisbt/core/plugin_api.php 2007-11-15 15:05:52 UTC (rev 4756) @@ -375,9 +375,9 @@ * @return multi True if upgrade completed, null if problem */ function plugin_upgrade( $p_basename ) { - access_ensure_global_level( config_get( 'manage_plugin_threshold' ) ); + access_ensure_global_level( config_get_global( 'manage_plugin_threshold' ) ); - $t_schema_version = config_get_global( 'plugin_' . $p_basename . '_schema', -1 ); + $t_schema_version = config_get( 'plugin_' . $p_basename . '_schema', -1 ); $t_schema = plugin_get_schema( $p_basename ); global $g_db; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |