projects
/
mdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40f56b9
)
Check that function exists when updating services
author
Frederic Massart
<fred@moodle.com>
Tue, 19 Jul 2016 12:13:48 +0000
(20:13 +0800)
committer
Frederic Massart
<fred@moodle.com>
Tue, 19 Jul 2016 12:13:48 +0000
(20:13 +0800)
mdk/scripts/external_functions.php
patch
|
blob
|
history
diff --git
a/mdk/scripts/external_functions.php
b/mdk/scripts/external_functions.php
index
c03ee36
..
401678a
100644
(file)
--- a/
mdk/scripts/external_functions.php
+++ b/
mdk/scripts/external_functions.php
@@
-39,5
+39,7
@@
foreach ($plugintypes as $plugintype => $dir) {
}
}
-external_update_services();
+if (function_exists('external_update_services')) {
+ external_update_services();
+}