/**
  *
  * @access public
  * @param \CCDNForum\ForumBundle\Component\Dispatcher\Event\ModeratorTopicEvent $event
  */
 public function onTopicReopenComplete(ModeratorTopicEvent $event)
 {
     if ($event->getTopic()) {
         if ($event->getTopic()->getId()) {
             $this->session->getFlashBag()->add('success', 'Successfully reopened topic "' . $event->getTopic()->getId() . '"');
         }
     }
 }
 /**
  *
  * @access public
  * @param \CCDNForum\ForumBundle\Component\Dispatcher\Event\ModeratorTopicEvent $event
  */
 public function onTopicRestoreComplete(ModeratorTopicEvent $event)
 {
     $this->updateBoardStats($this->extractBoardFromTopic($event->getTopic()));
 }