From 8eb953ffe12d9d55e9f6c3e6c10e1d19e8477325 Mon Sep 17 00:00:00 2001 From: kevinjardine Date: Wed, 25 Feb 2009 13:02:54 +0000 Subject: Introduces user default access. git-svn-id: https://code.elgg.org/elgg/trunk@2943 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/admin/site/update_basic.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'actions') diff --git a/actions/admin/site/update_basic.php b/actions/admin/site/update_basic.php index 564a3aa1c..a106a22f0 100644 --- a/actions/admin/site/update_basic.php +++ b/actions/admin/site/update_basic.php @@ -44,6 +44,12 @@ set_config('default_access', get_input('default_access'), $site->getGUID()); + if (get_input('allow_user_default_access')) { + set_config('allow_user_default_access', 1, $site->getGUID()); + } else { + set_config('allow_user_default_access', 0, $site->getGUID()); + } + set_config('view', get_input('view'), $site->getGUID()); $debug = get_input('debug'); -- cgit v1.2.3