From 83513cfc592b23bac63b6b0a81e29625bd1cd8db Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Sat, 1 Oct 2016 22:10:59 +0900 Subject: [PATCH] Fix 78 unused variable in CommentModel::getComments() --- modules/comment/comment.model.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/comment/comment.model.php b/modules/comment/comment.model.php index d75753005..4bbf3514d 100644 --- a/modules/comment/comment.model.php +++ b/modules/comment/comment.model.php @@ -211,10 +211,6 @@ class commentModel extends comment $oComment = NULL; $oComment = new commentItem(); $oComment->setAttribute($attribute); - if($is_admin) - { - $oComment->setGrant(); - } $result[$attribute->comment_srl] = $oComment; }