/**
  * @param Mirasvit_Helpdesk_Model_Ticket $object
  * @param string                         $subject
  *
  * @return string
  */
 public function getEmailSubject($object, $subject = '')
 {
     $result = '';
     if (Mage::getSingleton('helpdesk/config')->getNotificationIsShowCode()) {
         $result = "[#{$object->getCode()}] ";
     }
     if ($subject) {
         $result .= "{$subject} - ";
     }
     $result .= $object->getName();
     return $result;
 }