From 94d316ea1f20fbca680641cc846c9ead979e7017 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 9 Apr 2011 12:34:38 +0000 Subject: Refs #3241 cleaned up comments on upgrades and removed the turning off of time limit in individual upgrades since this is now handled by the upgrade function git-svn-id: http://code.elgg.org/elgg/trunk@8961 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/upgrades/2008100701.php | 12 ++++++------ engine/lib/upgrades/2009022701.php | 10 +++++----- engine/lib/upgrades/2009041701.php | 11 +++++------ engine/lib/upgrades/2009070101.php | 13 ++++++------- engine/lib/upgrades/2009102801.php | 7 ++++--- engine/lib/upgrades/2010033101.php | 3 ++- engine/lib/upgrades/2010040201.php | 1 + engine/lib/upgrades/2010061501.php | 3 +-- 8 files changed, 30 insertions(+), 30 deletions(-) diff --git a/engine/lib/upgrades/2008100701.php b/engine/lib/upgrades/2008100701.php index 38837f81d..b8d4dfdbc 100644 --- a/engine/lib/upgrades/2008100701.php +++ b/engine/lib/upgrades/2008100701.php @@ -1,7 +1,7 @@ site->guid); + +/** + * Because Elgg now has a plugable account activation process we need to activate + * the email account activation plugin for existing installs. + */ +enable_plugin('uservalidationbyemail', $CONFIG->site->guid); diff --git a/engine/lib/upgrades/2009022701.php b/engine/lib/upgrades/2009022701.php index 293e9fb99..54083a34d 100644 --- a/engine/lib/upgrades/2009022701.php +++ b/engine/lib/upgrades/2009022701.php @@ -1,7 +1,7 @@ site->guid); +/** + * Disable update client since this has now been removed. + */ +disable_plugin('updateclient', $CONFIG->site->guid); diff --git a/engine/lib/upgrades/2009041701.php b/engine/lib/upgrades/2009041701.php index 2d3d612c3..7b31a3bc9 100644 --- a/engine/lib/upgrades/2009041701.php +++ b/engine/lib/upgrades/2009041701.php @@ -1,9 +1,8 @@ site->guid); +/** + * Elgg now has kses tag filtering built as a plugin. This needs to be enabled. + */ +enable_plugin('kses', $CONFIG->site->guid); diff --git a/engine/lib/upgrades/2009070101.php b/engine/lib/upgrades/2009070101.php index a72d6ea95..d0eae9b91 100644 --- a/engine/lib/upgrades/2009070101.php +++ b/engine/lib/upgrades/2009070101.php @@ -1,10 +1,9 @@ site->guid); - enable_plugin('htmlawed', $CONFIG->site->guid); +/** + * Kses appears to be a dead project so we are deprecating it in favour of htmlawed. + */ +disable_plugin('kses', $CONFIG->site->guid); +enable_plugin('htmlawed', $CONFIG->site->guid); diff --git a/engine/lib/upgrades/2009102801.php b/engine/lib/upgrades/2009102801.php index 8885dbb09..cab9a6835 100644 --- a/engine/lib/upgrades/2009102801.php +++ b/engine/lib/upgrades/2009102801.php @@ -1,7 +1,8 @@ dbprefix}users_entity WHERE username != ''"); diff --git a/engine/lib/upgrades/2010033101.php b/engine/lib/upgrades/2010033101.php index 3265f4e61..0bffee001 100644 --- a/engine/lib/upgrades/2010033101.php +++ b/engine/lib/upgrades/2010033101.php @@ -1,5 +1,6 @@