Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Allow removing apps with app store disabled
Signed-off-by: Gary Kim <[email protected]>
  • Loading branch information
gary-kim committed May 24, 2021
commit 92555b6014cffc955e9fdfb6f663c995a03b83a9
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