Skip to content

Commit

Permalink
WIP: sync property name case
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>

[skip ci]
  • Loading branch information
andrey18106 authored and backportbot[bot] committed Oct 29, 2024
1 parent cdc0974 commit 8f62498
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Controller/ExAppsPageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public function listApps(): JSONResponse {
}))[0]['releases'][0]['version'];
}

$appData['canUninstall'] = !$appData['active'] && $appData['removable']
$appData['canUnInstall'] = !$appData['active'] && $appData['removable']
&& (isset($appData['status']['action']) && $appData['status']['action'] !== 'deploy')
|| (isset($appData['status']['action']) && $appData['status']['action'] === 'init')
|| !empty($appData['status']['error']);
Expand Down Expand Up @@ -282,7 +282,7 @@ private function buildLocalAppsList(array $apps, array $exApps): array {
'missingMaxOwnCloudVersion' => false,
'missingMinOwnCloudVersion' => false,
'canInstall' => true, // to allow "remove" command for manual-install
'canUninstall' => !($exApp->getEnabled() === 1),
'canUnInstall' => !($exApp->getEnabled() === 1),
'isCompatible' => true,
'screenshot' => '',
'score' => 0,
Expand Down

0 comments on commit 8f62498

Please sign in to comment.