Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-27456 Fixed typo in comment/lib.php after last refatoring

  • Loading branch information...
commit ca2b2eb8af2d58ae66ff87a245a3f580d5237736 1 parent 39d106e
@samhemelryk samhemelryk authored
Showing with 6 additions and 8 deletions.
  1. +6 −8 comment/lib.php
View
14 comment/lib.php
@@ -127,16 +127,14 @@ class comment {
*/
protected $totalcommentcount = null;
/**
- * By default a user must have the generic comment capabilities plus any capabilities the
- * component being commented on requires.
- * When set to true only the component capabilities are checked, the system capabilities are
- * ignored.
- * This can be toggled by the component defining a callback in its lib.php e.g.
- * function forum_comment_allow_anonymous_access(comment $comment) {}
- * Note: On the front page this defaults to true.
+ * When set to true any user to the system is able to view comments.
+ *
+ * This can be set to true by a plugin by implementing a allow_anonymous_access callback.
+ * By default it is false except on the front page.
+ *
* @var bool
*/
- protected $ignoresystempermissions = false;
+ protected $allowanonymousaccess = false;
/**#@+
* static variable will be used by non-js comments UI
Please sign in to comment.
Something went wrong with that request. Please try again.