aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCôme Chilliet <91878298+come-nc@users.noreply.github.com>2024-03-06 10:16:27 +0100
committerGitHub <noreply@github.com>2024-03-06 10:16:27 +0100
commitdc6782554127af6bcaecfc08d767b662d268d078 (patch)
tree6688bbd96a5416f02bbbf7dfcd43031126f8a045
parent14ef17e5e21017b36ff106eb9202a0cd54771199 (diff)
parentf2c36a55fe2a0ef2efd15a9ce6a4c8f8420d87dc (diff)
downloadnextcloud-server-dc6782554127af6bcaecfc08d767b662d268d078.tar.gz
nextcloud-server-dc6782554127af6bcaecfc08d767b662d268d078.zip
Merge pull request #44014 from nextcloud/fix/remove-base-php-unused-endpoint
fix: Remove unused endpoint from base.php
-rw-r--r--lib/base.php15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/base.php b/lib/base.php
index 72afa0753ba..891161ff0c6 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -1018,21 +1018,6 @@ class OC {
}
}
- // emergency app disabling
- if ($requestPath === '/disableapp'
- && $request->getMethod() === 'POST'
- ) {
- \OC_JSON::callCheck();
- \OC_JSON::checkAdminUser();
- $appIds = (array)$request->getParam('appid');
- foreach ($appIds as $appId) {
- $appId = \OC_App::cleanAppId($appId);
- Server::get(\OCP\App\IAppManager::class)->disableApp($appId);
- }
- \OC_JSON::success();
- exit();
- }
-
// Always load authentication apps
OC_App::loadApps(['authentication']);
OC_App::loadApps(['extended_authentication']);