Skip to content

Commit

Permalink
Merge pull request #27088 from nextcloud/fix/27074/removing-apps
Browse files Browse the repository at this point in the history
Allow removing apps with app store disabled
  • Loading branch information
skjnldsv authored Jun 2, 2021
2 parents aa40bde + 92555b6 commit 949102c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/private/legacy/OC_App.php
Original file line number Diff line number Diff line change
Expand Up @@ -460,10 +460,6 @@ public function enable(string $appId,
* @return string|false
*/
public static function getInstallPath() {
if (\OC::$server->getSystemConfig()->getValue('appstoreenabled', true) == false) {
return false;
}

foreach (OC::$APPSROOTS as $dir) {
if (isset($dir['writable']) && $dir['writable'] === true) {
return $dir['path'];
Expand Down

0 comments on commit 949102c

Please sign in to comment.