diff --git a/include/ajax.content.php b/include/ajax.content.php index 48cb6f2b012bfbd92d32dea39bbaf582f1b9de6a..38112a11502ec5e80fb61aa2f1f039bc0f889928 100644 --- a/include/ajax.content.php +++ b/include/ajax.content.php @@ -101,7 +101,6 @@ class ContentAjaxAPI extends AjaxController { <tr><td>.lastmessage</td><td>'.__('Last Message').'</td></tr> <tr><td colspan="2" style="padding:5px 0 5px 0;"><em><b>'.__('Thread Entry expansions').'</b></em></td></tr> <tr><td>.poster</td><td>'.__('Poster').'</td></tr> - <tr><td>.posterType</td><td>'.__('Can be User or Agent').'</td></tr> <tr><td>.create_date</td><td>'.__('Date Created').'</td></tr> </table> </td> diff --git a/include/class.thread.php b/include/class.thread.php index 7cca14af8f1fdc952e917156fc9a4ad6a81e6f0a..a28c5c369f21df69c82556e446a64cd6edcda384 100644 --- a/include/class.thread.php +++ b/include/class.thread.php @@ -760,7 +760,6 @@ implements TemplateVariable { var $_actions; var $is_autoreply; var $is_bounce; - var $_posterType; static protected $perms = array( self::PERM_EDIT => array( @@ -838,13 +837,6 @@ implements TemplateVariable { return $this->poster; } - function getPosterType() { - $this->staff_id ? - $this->posterType = __('Agent') : $this->posterType = __('User'); - - return $this->posterType; - } - function getTitle() { return $this->title; }