function OnLoadPageData()
 {
     # Add subscription
     $o_subs = new SubscriptionManager($this->GetSettings(), $this->GetDataConnection());
     $o_subs->SaveSubscription($this->o_review_item->GetId(), $this->o_review_item->GetType(), AuthenticationManager::GetUser()->GetId());
     unset($o_subs);
 }
 function SavePostedComments(TopicManager $topic_manager)
 {
     /* @var $message ForumMessage */
     if (trim($_POST['message']) and !$this->IsRefresh()) {
         $message = $topic_manager->SaveComment($this->review_item, $_POST['message']);
         # send subscription emails
         require_once 'forums/subscription-manager.class.php';
         $o_subs = new SubscriptionManager($this->GetSettings(), $this->GetDataConnection());
         $o_subs->SendCommentsSubscriptions($this->review_item, $message);
         # add subscription if appropriate
         if (isset($_POST['subscribe'])) {
             $o_subs->SaveSubscription($this->review_item->GetId(), $this->review_item->GetType(), AuthenticationManager::GetUser()->GetId());
         }
     }
 }