Skip to content
Snippets Groups Projects
Commit 1e1b23a0 authored by Gerrit Uitslag's avatar Gerrit Uitslag
Browse files

Remove disabling by renaming to '<pluginfoldername>.disabled'

remaining folders with .disabled in the foldername are displayed in
extension manager with rename warning.
parent 1f3c3ee3
No related branches found
No related tags found
No related merge requests found
......@@ -172,12 +172,7 @@ class Doku_Plugin_Controller {
if ($plugin[0] == '.') continue; // skip hidden entries
if (is_file(DOKU_PLUGIN.$plugin)) continue; // skip files, we're only interested in directories
if (substr($plugin,-9) == '.disabled') {
// the plugin was disabled by rc2009-01-26
// disabling mechanism was changed back very soon again
// to keep everything simple we just skip the plugin completely
continue;
} elseif ((array_key_exists($plugin,$this->tmp_plugins) && $this->tmp_plugins[$plugin] == 0) ||
if ((array_key_exists($plugin,$this->tmp_plugins) && $this->tmp_plugins[$plugin] == 0) ||
($plugin === 'plugin' && isset($conf['pluginmanager']) && !$conf['pluginmanager'])){
$all_plugins[$plugin] = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment