From 418e0d4d256053b1ceea711a8b5248577fe89b2e Mon Sep 17 00:00:00 2001
From: aydreeihn <adriane@enhancesoft.com>
Date: Tue, 15 May 2018 16:45:17 -0500
Subject: [PATCH] Lint: Fixes

---
 include/class.thread_actions.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/class.thread_actions.php b/include/class.thread_actions.php
index a2c67788c..4f65e38ed 100644
--- a/include/class.thread_actions.php
+++ b/include/class.thread_actions.php
@@ -526,7 +526,7 @@ JS
         }
 
         if ($this->entry->getThread()->getObjectType()  == 'T')
-          return $this->getTicketsAPI()->addTask($this->getObjectId(), $vars); //TasksAjaxAPI
+          return $this->getTicketsAPI()->addTask($this->getObjectId(), $vars);
         else
           return $this->getTasksAPI()->add($this->getObjectId(), $vars);
 
@@ -534,9 +534,9 @@ JS
 
     private function trigger__post() {
       if ($this->entry->getThread()->getObjectType()  == 'T')
-        return $this->getTicketsAPI()->addTask($this->getObjectId(), $vars);
+        return $this->getTicketsAPI()->addTask($this->getObjectId());
       else
-        return $this->getTasksAPI()->add($this->getObjectId(), $vars);
+        return $this->getTasksAPI()->add($this->getObjectId());
     }
 
 }
-- 
GitLab