aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-21 17:18:36 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-21 17:18:36 +0000
commitb10b63780291e223dc30ece31ea2899ddd8078e1 (patch)
tree5e6efbec2209c149a70a4a654bb75f31c2ef0e95 /actions
parentff3c511e3d66534b74113b492ecfbe60e74d1459 (diff)
downloadelgg-b10b63780291e223dc30ece31ea2899ddd8078e1.tar.gz
elgg-b10b63780291e223dc30ece31ea2899ddd8078e1.tar.bz2
Actually fixes #269
git-svn-id: https://code.elgg.org/elgg/trunk@2036 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions')
-rw-r--r--actions/systemsettings/install.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/actions/systemsettings/install.php b/actions/systemsettings/install.php
index 35cae93c1..efc0f61b4 100644
--- a/actions/systemsettings/install.php
+++ b/actions/systemsettings/install.php
@@ -65,6 +65,8 @@
unset_config('debug', $site->getGUID());
$usage = get_input('usage');
+ if (is_array($usage)) $usage = $usage[0];
+
if ($usage)
unset_config('ping_home', $site->getGUID());
else
@@ -77,9 +79,8 @@
enable_plugin('logbrowser', $site->getGUID());
enable_plugin('diagnostics', $site->getGUID());
-
// Now ping home
- if ($usage!='disabled')
+ if ($usage=='')
{
ping_home($site);
}