diff options
author | kevinjardine <kevinjardine@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-25 13:02:54 +0000 |
---|---|---|
committer | kevinjardine <kevinjardine@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-25 13:02:54 +0000 |
commit | 8eb953ffe12d9d55e9f6c3e6c10e1d19e8477325 (patch) | |
tree | e6a69cc7ae810e4253d97a5bf48ca0c86ba32803 /actions | |
parent | 6336f2176cf12e195248a96118d5513d79fc652c (diff) | |
download | elgg-8eb953ffe12d9d55e9f6c3e6c10e1d19e8477325.tar.gz elgg-8eb953ffe12d9d55e9f6c3e6c10e1d19e8477325.tar.bz2 |
Introduces user default access.
git-svn-id: https://code.elgg.org/elgg/trunk@2943 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions')
-rw-r--r-- | actions/admin/site/update_basic.php | 6 |
1 files changed, 6 insertions, 0 deletions
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');
|