aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/upgrades/2010123101.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/upgrades/2010123101.php')
-rw-r--r--engine/lib/upgrades/2010123101.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/engine/lib/upgrades/2010123101.php b/engine/lib/upgrades/2010123101.php
new file mode 100644
index 000000000..f4befd1a8
--- /dev/null
+++ b/engine/lib/upgrades/2010123101.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);
+}