MDL-18592 mod_choice: deprecate incorrect events
authorMarina Glancy <marina@moodle.com>
Tue, 16 Aug 2016 02:43:54 +0000 (10:43 +0800)
committerMarina Glancy <marina@moodle.com>
Tue, 16 Aug 2016 02:43:54 +0000 (10:43 +0800)
mod/choice/classes/event/answer_submitted.php
mod/choice/classes/event/answer_updated.php

index 76fb819..e4c051d 100644 (file)
@@ -145,4 +145,8 @@ class answer_submitted extends \core\event\base {
 
         return $othermapped;
     }
+
+    public static function is_deprecated() {
+        return true;
+    }
 }
index 60e3720..f332962 100644 (file)
@@ -147,4 +147,8 @@ class answer_updated extends \core\event\base {
 
         return $othermapped;
     }
+
+    public static function is_deprecated() {
+        return true;
+    }
 }