Add option to disable admin content protection

최고관리자의 글을 게시판 관리자가 수정/삭제하지 못하도록 하는 기능은
게시판을 위키 등 협업 용도로 사용하는 경우 불편을 유발할 수 있으므로
옵션으로 켜고 끌 수 있도록 합니다. 기본값은 수정/삭제 금지입니다.
This commit is contained in:
Kijin Sung 2021-12-30 23:55:10 +09:00
parent 9d6e54f2f6
commit 3925c24487
9 changed files with 95 additions and 36 deletions

View file

@ -137,7 +137,7 @@ class commentModel extends comment
/**
* Returns the number of child comments
* @param int $comment_srl
* @return int
* @return array
*/
public static function getChildComments($comment_srl)
{