aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/upgrades/2011010401.php9
-rw-r--r--version.php2
2 files changed, 10 insertions, 1 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);
+}
diff --git a/version.php b/version.php
index b9efe2301..5308c5de2 100644
--- a/version.php
+++ b/version.php
@@ -11,7 +11,7 @@
// YYYYMMDD = Elgg Date
// XX = Interim incrementer
-$version = 2011010101;
+$version = 2011010401;
// Human-friendly version name
$release = '1.8-svn';