MDL-26854 COMMENT
commitc1951ea9538aa8ca148d62b5127982eb2d332ef7
authorDongsheng Cai <dongsheng@moodle.com>
Wed, 4 May 2011 09:23:46 +0000 (4 17:23 +0800)
committerDongsheng Cai <dongsheng@moodle.com>
Wed, 4 May 2011 09:23:46 +0000 (4 17:23 +0800)
treee286bf5737f6f8d34e51bb7698712a63be23a5af
parentb8df9414bd3981293b8cf77341ccd80ee1021bdd
MDL-26854 COMMENT
1. added pluginname_comment_validate callback to comments api
2. change permission callback defaults to false
3. Tidied up serveal areas of comments and implemented callback to
ignore system permissions for view (credits to Sam Hemelryk)

AMOS BEGIN
    MOV [modulerejectcomment,error],[callbackrejectcomment,error]
AMOS END
16 files changed:
blocks/comments/block_comments.php
blog/lib.php
comment/comment.js
comment/comment_ajax.php
comment/comment_post.php
comment/index.php
comment/lib.php
comment/locallib.php
lang/en/error.php
lang/en/moodle.php
lib/moodlelib.php
mod/data/lang/en/data.php
mod/data/lib.php
mod/glossary/lang/en/glossary.php
mod/glossary/lib.php
mod/wiki/lib.php