MDL-10107 Fixed the definition of message providers ... it now works through files...
[moodle.git] / mod / feedback / db / upgrade.php
index 7ab9c1c..feb2535 100644 (file)
@@ -233,16 +233,6 @@ function xmldb_feedback_upgrade($oldversion=0) {
         upgrade_mod_savepoint($result, 2008050105, 'feedback');
     }
     
-    if ($result and $oldversion < 2008072401) {
-        $eventdata = new object();
-        $eventdata->modulename = 'feedback';
-        $eventdata->modulefile = 'mod/feedback/index.php';
-        events_trigger('message_provider_register', $eventdata);
-        
-        upgrade_mod_savepoint($result, 2008072401, 'feedback');
-    }
-
-
     return $result;
 }