release 0.9.5
parent
bf436f5080
commit
aa4af2e63a
|
@ -2,6 +2,10 @@ todo:
|
|||
- add user pref cleaner
|
||||
- add meta cleaner
|
||||
|
||||
0.9.5 - 2023.05.31
|
||||
- require Dotclear 2.26 and PHP 8.1+
|
||||
- fix Traits constants in php 8.1
|
||||
|
||||
0.9.4 - 2023.05.14
|
||||
- require Dotclear 2.26 and PHP 8.1+
|
||||
- sort values list
|
||||
|
|
|
@ -18,7 +18,7 @@ $this->registerModule(
|
|||
'Uninstaller',
|
||||
'Uninstall cleanly plugins and themes',
|
||||
'Jean-Christian Denis and Contributors',
|
||||
'0.9.4',
|
||||
'0.9.5',
|
||||
[
|
||||
'requires' => [
|
||||
['php', '8.1'],
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
<modules xmlns:da="http://dotaddict.org/da/">
|
||||
<module id="Uninstaller">
|
||||
<name>Uninstaller</name>
|
||||
<version>0.9.4</version>
|
||||
<version>0.9.5</version>
|
||||
<author>Jean-Christian Denis and Contributors</author>
|
||||
<desc>Uninstall cleanly plugins and themes</desc>
|
||||
<file>https://github.com/JcDenis/Uninstaller/releases/download/v0.9.4/plugin-Uninstaller.zip</file>
|
||||
<file>https://github.com/JcDenis/Uninstaller/releases/download/v0.9.5/plugin-Uninstaller.zip</file>
|
||||
<da:dcmin>2.26</da:dcmin>
|
||||
<da:details>https://plugins.dotaddict.org/dc2/details/Uninstaller</da:details>
|
||||
<da:support>https://github.com/JcDenis/Uninstaller</da:support>
|
||||
|
|
|
@ -90,9 +90,9 @@ class Backend extends dcNsProcess
|
|||
|
||||
// Do not perform action on disabled module if a duplicate exists.
|
||||
if ($define->get('state') != dcModuleDefine::STATE_ENABLED) {
|
||||
if (!in_array($define->get('type'), ['plugin', 'theme'])
|
||||
if (!in_array($define->get('type'), ['plugin', 'theme'])
|
||||
|| $define->get('type') == 'plugin' && 1 < count(dcCore::app()->plugins->getDefines(['id' => $define->getId()]))
|
||||
|| $define->get('type') == 'theme' && 1 < count(dcCore::app()->themes->getDefines(['id' => $define->getId()]))
|
||||
|| $define->get('type') == 'theme' && 1 < count(dcCore::app()->themes->getDefines(['id' => $define->getId()]))
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue