Skip to content

Commit

Permalink
MDL-32349 Installing can time out with large number of plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
sammarshallou committed Apr 5, 2012
1 parent 9ad535c commit ebb98bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/upgradelib.php
Expand Up @@ -314,6 +314,8 @@ function upgrade_plugins($type, $startcallback, $endcallback, $verbose) {
$plugs = get_plugin_list($type);

foreach ($plugs as $plug=>$fullplug) {
// Reset time so that it works when installing a large number of plugins
set_time_limit(600);
$component = clean_param($type.'_'.$plug, PARAM_COMPONENT); // standardised plugin name

// check plugin dir is valid name
Expand Down

0 comments on commit ebb98bf

Please sign in to comment.