Merge pull request #8424 from nextcloud/fix/update-app
Fix updating an app
This commit is contained in:
commit
4e6d98ea8c
|
@ -385,7 +385,7 @@ class Updater extends BasicEmitter {
|
|||
private function checkAppsRequirements() {
|
||||
$isCoreUpgrade = $this->isCodeUpgrade();
|
||||
$apps = OC_App::getEnabledApps();
|
||||
$version = Util::getVersion();
|
||||
$version = implode('.', Util::getVersion());
|
||||
$disabledApps = [];
|
||||
$appManager = \OC::$server->getAppManager();
|
||||
foreach ($apps as $app) {
|
||||
|
|
|
@ -915,7 +915,7 @@ class OC_App {
|
|||
* @param string $appId
|
||||
* @return bool
|
||||
*/
|
||||
public static function updateApp(sstring $appId): bool {
|
||||
public static function updateApp(string $appId): bool {
|
||||
$appPath = self::getAppPath($appId);
|
||||
if($appPath === false) {
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue