Skip to content
Snippets Groups Projects
Commit 33d0698a authored by Ryan Smith's avatar Ryan Smith
Browse files

Merge pull request #16 from jlowe64/feature/user_created

Let's controllers decide whether to ignore events.
parents b4e99a98 d5bcbf06
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,7 @@ class store extends php_obj implements log_writer {
*
*/
protected function is_event_ignored(event_base $event) {
return !(isset(moodle_controller::$routes[$event->eventname]) && $event->userid > 0);
return false;
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment