AC would always get enabled if docker folder was installed
parent
e70902c6ad
commit
16f87c9e7d
Binary file not shown.
|
@ -2,7 +2,7 @@
|
|||
4e55f7483b661af21a25b677179baffe ./CA_notices.page
|
||||
4c5d4598e1bafa46bd90c27cbe302122 ./ca_settings.page
|
||||
e8d29607ec792ddf9f6832b10ee70fdc ./default.cfg
|
||||
aed8d4eda97f849fff5b0a4d054b6637 ./include/exec.php
|
||||
5865b879fdb3dbfb6c893cb49418c6bd ./include/exec.php
|
||||
58943e7d6c7ded15b71f160bd4493f1d ./include/helpers.php
|
||||
116042a918060278e77379b0dd73482c ./include/paths.php
|
||||
532fffdf939594c143e679da02bd841e ./javascript/libraries.js
|
||||
|
|
|
@ -2443,6 +2443,9 @@ function enableActionCentre() {
|
|||
if ( checkInstalledPlugin($template) ) {
|
||||
$template['InstallPath'] = "/var/log/plugins/$filename";
|
||||
$template['Uninstall'] = true;
|
||||
if ( plugin("pluginURL","/var/log/plugins/$filename") !== $template['PluginURL'] )
|
||||
continue;
|
||||
|
||||
$installedVersion = plugin("version","/var/log/plugins/$filename");
|
||||
if ( ( strcmp($installedVersion,$template['pluginVersion']) < 0 || $template['UpdateAvailable']) ) {
|
||||
$template['actionCentre'] = true;
|
||||
|
@ -2472,7 +2475,6 @@ function enableActionCentre() {
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if ( isset($displayed) ) {
|
||||
debug("action center enabled");
|
||||
postReturn(['status'=>"action"]);
|
||||
|
|
Loading…
Reference in New Issue