diff options
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/upgrades/2011010401.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/engine/lib/upgrades/2011010401.php b/engine/lib/upgrades/2011010401.php new file mode 100644 index 000000000..f4befd1a8 --- /dev/null +++ b/engine/lib/upgrades/2011010401.php @@ -0,0 +1,9 @@ +<?php +/** + * Set default access for older sites + */ + +$access = elgg_get_config('default_access'); +if ($access == false) { + elgg_save_config('default_access', ACCESS_LOGGED_IN); +} |