Use the WebGUI::Inbox module to build objects.

This commit is contained in:
Colin Kuskie 2010-10-11 11:16:30 -07:00
parent 81813902da
commit c50688f987

View file

@ -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);