MDL-58386 mod_forum: Fixed CI issues
authorJun Pataleta <jun@moodle.com>
Mon, 27 Mar 2017 04:00:50 +0000 (12:00 +0800)
committerDan Poltawski <dan@moodle.com>
Tue, 4 Apr 2017 10:01:47 +0000 (11:01 +0100)
Part of MDL-55611 epic.

mod/forum/mod_form.php

index df87079..df8b4d1 100644 (file)
@@ -254,7 +254,12 @@ class mod_forum_mod_form extends moodleform_mod {
         }
     }
 
-    function add_completion_rules() {
+    /**
+     * Add custom completion rules.
+     *
+     * @return array Array of string IDs of added items, empty array if none
+     */
+    public function add_completion_rules() {
         $mform =& $this->_form;
 
         $group=array();