Skip to content
Browse files

MDL-32349 Installing can time out with large number of plugins

  • Loading branch information...
1 parent 9ad535c commit ebb98bf53c8aab6ee1461f518d88baf32320cd0c @sammarshallou sammarshallou committed Apr 5, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/upgradelib.php
View
2 lib/upgradelib.php
@@ -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

0 comments on commit ebb98bf

Please sign in to comment.
Something went wrong with that request. Please try again.