Revert 61f6456b and add a warning instead

This commit is contained in:
Kijin Sung 2020-10-30 15:57:18 +09:00
parent 50133f6ae5
commit b354d8af49
2 changed files with 3 additions and 6 deletions

View file

@ -157,12 +157,11 @@ class commentModel extends comment
public static function getComment($comment_srl = 0, $is_admin = FALSE, $columnList = array())
{
$oComment = new commentItem($comment_srl, $columnList);
/*
if($is_admin)
{
trigger_error('Called CommentModel::getComment() with $is_admin = true', \E_USER_WARNING);
$oComment->setGrant();
}
*/
return $oComment;
}