Check that function exists when updating services
authorFrederic Massart <fred@moodle.com>
Tue, 19 Jul 2016 12:13:48 +0000 (20:13 +0800)
committerFrederic Massart <fred@moodle.com>
Tue, 19 Jul 2016 12:13:48 +0000 (20:13 +0800)
mdk/scripts/external_functions.php

index c03ee36..401678a 100644 (file)
@@ -39,5 +39,7 @@ foreach ($plugintypes as $plugintype => $dir) {
     }
 }
 
-external_update_services();
+if (function_exists('external_update_services')) {
+    external_update_services();
+}