diff options
author | cash <cash.costello@gmail.com> | 2012-06-28 17:57:16 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2012-06-28 17:57:16 -0400 |
commit | 07f61d6c9d7d7155b9b37befbf5c335bff54db73 (patch) | |
tree | 71bf67baa4a040eb8e615d2a486df1ac2a049b8f | |
parent | e37bea365192029361b822283648f9af241b2557 (diff) | |
download | elgg-07f61d6c9d7d7155b9b37befbf5c335bff54db73.tar.gz elgg-07f61d6c9d7d7155b9b37befbf5c335bff54db73.tar.bz2 |
Fixes #4641 setting timeout for plugin upgrades
-rw-r--r-- | upgrade.php | 3 |
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(); |