MDL-21993 somebody needs to fix the chicken-egg mnet problem during install/upgrade
authorPetr Skoda <skodak@moodle.org>
Tue, 30 Mar 2010 19:51:34 +0000 (19:51 +0000)
committerPetr Skoda <skodak@moodle.org>
Tue, 30 Mar 2010 19:51:34 +0000 (19:51 +0000)
lib/upgradelib.php

index ed78998..0c937ea 100644 (file)
@@ -1443,7 +1443,7 @@ function upgrade_plugin_mnet_functions($component) {
     foreach($subscribes as $service => $methods) {
         if (!array_key_exists($service, $servicecache)) {
             if (!$serviceobj = $DB->get_record('mnet_service', array('name' =>  $service))) {
     foreach($subscribes as $service => $methods) {
         if (!array_key_exists($service, $servicecache)) {
             if (!$serviceobj = $DB->get_record('mnet_service', array('name' =>  $service))) {
-                debugging("skipping unknown service $service");
+                debugging("TODO: skipping unknown service $service - somebody needs to fix MDL-21993");
                 continue;
             }
             $servicecache[$service] = $serviceobj;
                 continue;
             }
             $servicecache[$service] = $serviceobj;