From 00e9811daec19d8ed6a76f58eef6276df852883e Mon Sep 17 00:00:00 2001 From: aydreeihn <adriane@enhancesoft.com> Date: Thu, 7 Jun 2018 10:20:34 -0500 Subject: [PATCH] remove unused variable, posterType --- include/ajax.content.php | 1 - include/class.thread.php | 8 -------- 2 files changed, 9 deletions(-) diff --git a/include/ajax.content.php b/include/ajax.content.php index 48cb6f2b0..38112a115 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 7cca14af8..a28c5c369 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; } -- GitLab