aboutsummaryrefslogtreecommitdiff
path: root/upgrade.php
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2012-06-28 17:57:16 -0400
committercash <cash.costello@gmail.com>2012-06-28 17:57:16 -0400
commit07f61d6c9d7d7155b9b37befbf5c335bff54db73 (patch)
tree71bf67baa4a040eb8e615d2a486df1ac2a049b8f /upgrade.php
parente37bea365192029361b822283648f9af241b2557 (diff)
downloadelgg-07f61d6c9d7d7155b9b37befbf5c335bff54db73.tar.gz
elgg-07f61d6c9d7d7155b9b37befbf5c335bff54db73.tar.bz2
Fixes #4641 setting timeout for plugin upgrades
Diffstat (limited to 'upgrade.php')
-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();