Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MDL-47411 admin: Check if the plugin is a git submodule on uninstalling
[moodle.git]
/
lib
/
classes
/
update
/
deployer.php
diff --git
a/lib/classes/update/deployer.php
b/lib/classes/update/deployer.php
index
d255609
..
25ba168
100644
(file)
--- a/
lib/classes/update/deployer.php
+++ b/
lib/classes/update/deployer.php
@@
-181,6
+181,10
@@
class deployer {
return 'git';
}
return 'git';
}
+ if (is_file($pluginroot.'/.git')) {
+ return 'git-submodule';
+ }
+
if (is_dir($pluginroot.'/CVS')) {
return 'cvs';
}
if (is_dir($pluginroot.'/CVS')) {
return 'cvs';
}