aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--upgrade.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/upgrade.php b/upgrade.php
index 963523200..60764ba93 100644
--- a/upgrade.php
+++ b/upgrade.php
@@ -27,6 +27,9 @@ if (get_input('upgrade') == 'upgrade') {
if (elgg_get_unprocessed_upgrades()) {
version_upgrade();
}
+
+ // turn off time limit so plugins that have upgrade scripts aren't interrupted
+ set_time_limit(0);
elgg_trigger_event('upgrade', 'system', null);
elgg_invalidate_simplecache();
elgg_reset_system_cache();