aboutsummaryrefslogtreecommitdiff
path: root/actions/admin/site/update_basic.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-25 15:47:19 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-25 15:47:19 +0000
commit6438acd96b4fe431dee7e94e6eeae80587a348ae (patch)
tree7431a3d10defadb6f3a8fc7c5c694d0d9bf9a186 /actions/admin/site/update_basic.php
parentcdc8add1161b1eefc96b26057ed0a776a5c70c9a (diff)
downloadelgg-6438acd96b4fe431dee7e94e6eeae80587a348ae.tar.gz
elgg-6438acd96b4fe431dee7e94e6eeae80587a348ae.tar.bz2
Main pinging mechanism now functional
git-svn-id: https://code.elgg.org/elgg/trunk@1543 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions/admin/site/update_basic.php')
-rw-r--r--actions/admin/site/update_basic.php6
1 files changed, 6 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