From c50688f987c10942a32d8c0566f8ab9fa61c4b28 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Mon, 11 Oct 2010 11:16:30 -0700 Subject: [PATCH] Use the WebGUI::Inbox module to build objects. --- docs/upgrades/upgrade_7.10.2-7.10.3.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/upgrades/upgrade_7.10.2-7.10.3.pl b/docs/upgrades/upgrade_7.10.2-7.10.3.pl index e91620252..f4711a6b9 100644 --- a/docs/upgrades/upgrade_7.10.2-7.10.3.pl +++ b/docs/upgrades/upgrade_7.10.2-7.10.3.pl @@ -49,6 +49,7 @@ select messageId, inbox.userId where users.userId IS NULL EOSQL $sth->execute([]); + use WebGUI::Inbox; my $inbox = WebGUI::Inbox->new($session); while (my ($messageId, $userId) = $sth->array) { my $message = $inbox->getMessage($messageId, $userId);