mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 10:11:38 +09:00
Revert 61f6456b and add a warning instead
This commit is contained in:
parent
50133f6ae5
commit
b354d8af49
2 changed files with 3 additions and 6 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue