aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/admin/site/update_basic.php6
-rw-r--r--actions/systemsettings/install.php6
2 files changed, 12 insertions, 0 deletions
diff --git a/actions/admin/site/update_basic.php b/actions/admin/site/update_basic.php
index 10e693d94..f1c2025f6 100644
--- a/actions/admin/site/update_basic.php
+++ b/actions/admin/site/update_basic.php
@@ -49,6 +49,12 @@
else
set_config('ping_home', 'disabled', $site->getGUID());
+ // Now ping home
+ if ((!isset($usage)) || ($usage!='disabled'))
+ {
+ ping_home($site);
+ }
+
if ($site->save())
system_message(elgg_echo("admin:configuration:success"));
else
diff --git a/actions/systemsettings/install.php b/actions/systemsettings/install.php
index dd60c847c..05ec62ba7 100644
--- a/actions/systemsettings/install.php
+++ b/actions/systemsettings/install.php
@@ -54,6 +54,12 @@
// activate river by default
enable_plugin('river', $site->getGUID());
+
+ // Now ping home
+ if ((!isset($usage)) || ($usage!='disabled'))
+ {
+ ping_home($site);
+ }
system_message(elgg_echo("installation:configuration:success"));