From a1fc60d9843c96ad5309e91ed0c9480a54dd67ad Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Thu, 3 Jan 2008 00:17:47 +0000 Subject: [PATCH] reorder upgrade steps so that addIsExportable happens before we try to update the templates --- docs/upgrades/upgrade_7.4.18-7.5.0.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/upgrades/upgrade_7.4.18-7.5.0.pl b/docs/upgrades/upgrade_7.4.18-7.5.0.pl index 810511789..31d7c3d7f 100644 --- a/docs/upgrades/upgrade_7.4.18-7.5.0.pl +++ b/docs/upgrades/upgrade_7.4.18-7.5.0.pl @@ -21,6 +21,8 @@ my $quiet; # this line required my $session = start(); # this line required +addIsExportable($session); +updateTemplates($session); addUrlAndContentHandlers($session); addFriendsNetwork($session); addSearchWithContainers($session); @@ -28,7 +30,6 @@ addGroupToEditPost($session); installGalleryAsset($session); installGalleryAlbumAsset($session); installPhotoAsset($session); -addIsExportable($session); finish($session); # this line required @@ -353,7 +354,6 @@ sub start { my $versionTag = WebGUI::VersionTag->getWorking($session); $versionTag->set({name=>"Upgrade to ".$toVersion}); $session->db->write("insert into webguiVersion values (".$session->db->quote($toVersion).",'upgrade',".$session->datetime->time().")"); - updateTemplates($session); return $session; }