aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/upgrades/2011010101.php
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2011-06-25 20:48:13 -0400
committerBrett Profitt <brett.profitt@gmail.com>2011-06-25 20:48:13 -0400
commit6e8662a4d6bae1ba433664555df3b5fa05049172 (patch)
tree2f51d90b12a009adb356146e12a5db647ef2dfdb /engine/lib/upgrades/2011010101.php
parent59774f1999752f941d48dcae43d53d4a6cc8c0c0 (diff)
downloadelgg-6e8662a4d6bae1ba433664555df3b5fa05049172.tar.gz
elgg-6e8662a4d6bae1ba433664555df3b5fa05049172.tar.bz2
Fixes #3554. Pulled 1.7->1.8 upgrade bootstrapping into a separate function. Made the plugin upgrade that forwards (2011010101) set itself in the processed upgrades.
Diffstat (limited to 'engine/lib/upgrades/2011010101.php')
-rw-r--r--engine/lib/upgrades/2011010101.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/engine/lib/upgrades/2011010101.php b/engine/lib/upgrades/2011010101.php
index 9dbaff1e4..b063c249b 100644
--- a/engine/lib/upgrades/2011010101.php
+++ b/engine/lib/upgrades/2011010101.php
@@ -87,7 +87,10 @@ if ($upgrade_version > $version) {
datalist_set('version', $upgrade_version);
}
+// add ourselves to the processed_upgrades.
+$processed_upgrades[] = '2011010101.php';
+
$processed_upgrades = array_unique($processed_upgrades);
-datalist_set('processed_upgrades', serialize($processed_upgrades));
+elgg_set_processed_upgrades($processed_upgrades);
forward('upgrade.php');