Merge commit 'tags/WebGUI_7.7.4-beta' into filepump

* commit 'tags/WebGUI_7.7.4-beta': (384 commits)
  Release 7.7.4-beta
  preparing for 7.7.4 release
  Add back code for throwing exceptions when session is not passed
  Fixed bug with Survey True/False multi-choice bundle defaults so that
  Added another Survey ResponseJSON test
  remove tests for the old, removed, getTaxRate method which was
  Handle automatically cleaning up users at the end of a test.
  Finish cleaning up after the move of getTaxRate from the Sku to the TaxDriver.
  Add missing POD and legal statements for many Shop modules.
  Add missing POD for the new ThingFieldsList form handler.
  Add missing POD from new SKU based collateral modules.
  Survey slider answer updates, now update all the answers for max,min,step settings since only the first answers values are used anyways.
  fix Post test cleaning up core groups
  fix syntax and help issues
  some POD fixes
  fixing lib paths on some tests
  log asset exports
  restore original user when running workflows
  enable workflow helper operation
  prevent tripping slow script warnings when viewing large folders
  ...
This commit is contained in:
Patrick Donelan 2009-04-27 14:26:08 +10:00
commit b269822678
347 changed files with 20179 additions and 6033 deletions

View file

@ -53,7 +53,7 @@ sub process {
my $db = $session->db;
my $i18n = WebGUI::International->new($session);
my ($count) = $db->quickArray("select count(*) from inbox where userId=? and status='unread'",[$session->user->userId]);
my $count = WebGUI::Inbox->new($session)->getUnreadMessageCount;
my $output = "";
if($count > 0) {