} $title = $translator->getMessage('RSS_NEW_ANNOTATION_TITLE', $item->getTitle(), $linked_item->getTitle(), '(' . $fullname . ')'); unset($email); unset($fullname); $link = $path . $c_single_entry_point . '?cid=' . $cid . '&mod=' . $linked_item->getItemType() . '&fct=detail&iid=' . $linked_item->getItemID(); $date = date('r', strtotime($item->getModificationDate())); } unset($linked_item); unset($user_item); } unset($manager); unset($item); break; case 'discussion': include_once 'classes/cs_discussion_manager.php'; $manager = new cs_discussion_manager($environment); $item = $manager->getItem($row['item_id']); if (isset($item) and !$item->isNotActivated()) { if (isset($last_discarticle_item) and $item->getModificationDate() == $last_discarticle_item->getModificationDate() and $item->getModificationDate() != $item->getCreationDate()) { unset($last_discarticle_item); $title = ''; $description = ''; $link = ''; $author = ''; $date = ''; } elseif ($item->getModificationDate() != $item->getCreationDate()) { $title = ''; $description = ''; $link = ''; $author = ''; $date = '';
public function __construct($environment) { $this->_db_prefix = $environment->getConfiguration('c_db_backup_prefix') . '_'; parent::cs_discussion_manager($environment); }