mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 16:35:45 +01:00
remove unnecessary method mark plugin as core plugin
This commit is contained in:
@@ -215,11 +215,6 @@ public class DefaultPluginManager implements PluginManager {
|
||||
&& dependencyTracker.mayUninstall(p.getDescriptor().getInformation().getName());
|
||||
}
|
||||
|
||||
private void markAsCore(InstalledPlugin plugin) {
|
||||
createMarkerFile(plugin, PluginConstants.FILE_CORE);
|
||||
plugin.markAsCore();
|
||||
}
|
||||
|
||||
private void createMarkerFile(InstalledPlugin plugin, String markerFile) {
|
||||
try {
|
||||
Files.createFile(plugin.getDirectory().resolve(markerFile));
|
||||
|
||||
Reference in New Issue
Block a user