diff options
Diffstat (limited to 'actions/admin/site')
-rw-r--r-- | actions/admin/site/update_basic.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/actions/admin/site/update_basic.php b/actions/admin/site/update_basic.php index d86ec9981..10e693d94 100644 --- a/actions/admin/site/update_basic.php +++ b/actions/admin/site/update_basic.php @@ -42,7 +42,12 @@ set_config('debug', 1, $site->getGUID()); else unset_config('debug', $site->getGUID()); -
+ + $usage = get_input('usage'); + if ($usage) + unset_config('ping_home', $site->getGUID()); + else + set_config('ping_home', 'disabled', $site->getGUID()); if ($site->save()) system_message(elgg_echo("admin:configuration:success")); |