diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-11-20 15:14:08 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-11-20 15:14:08 +0000 |
commit | af3443b176e7be7d18ea7f724f5b8c88ab7b73cf (patch) | |
tree | db185cbea995c86c62f29d9f028972f1b57dd1dc /engine | |
parent | 219a96bc529a4d77aa0ea661904cc46a7a961883 (diff) | |
download | elgg-af3443b176e7be7d18ea7f724f5b8c88ab7b73cf.tar.gz elgg-af3443b176e7be7d18ea7f724f5b8c88ab7b73cf.tar.bz2 |
No need to trigger the init event on upgrade.
git-svn-id: https://code.elgg.org/elgg/trunk@2478 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r-- | engine/start.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/start.php b/engine/start.php index 7a69760db..e6bfa3078 100644 --- a/engine/start.php +++ b/engine/start.php @@ -175,7 +175,8 @@ // Trigger events
if (!substr_count($_SERVER["PHP_SELF"],"install.php") &&
!substr_count($_SERVER["PHP_SELF"],"setup.php") &&
- !$lightmode) {
+ !$lightmode
+ && !(defined('upgrading') && upgrading == 'upgrading')) {
// If default settings haven't been installed, forward to the default settings page
trigger_elgg_event('init', 'system');
//if (!datalist_get('default_settings')) {
|