aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/AppFramework
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-09-21 17:25:52 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-09-25 10:37:12 +0200
commitf68d4f7300af493d52c85a36561551ca6d6e63de (patch)
tree270eff6c4178a5e2967829571e83c2d24f7c1810 /lib/private/AppFramework
parent8a65cf44cbc743f694610f710cb2078bb6935915 (diff)
downloadnextcloud-server-f68d4f7300af493d52c85a36561551ca6d6e63de.tar.gz
nextcloud-server-f68d4f7300af493d52c85a36561551ca6d6e63de.zip
Remove deprecated methods Util::writeLog and DIContainer::log
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/AppFramework')
-rw-r--r--lib/private/AppFramework/DependencyInjection/DIContainer.php27
1 files changed, 0 insertions, 27 deletions
diff --git a/lib/private/AppFramework/DependencyInjection/DIContainer.php b/lib/private/AppFramework/DependencyInjection/DIContainer.php
index a012d1e8ea6..c342ea236e2 100644
--- a/lib/private/AppFramework/DependencyInjection/DIContainer.php
+++ b/lib/private/AppFramework/DependencyInjection/DIContainer.php
@@ -404,33 +404,6 @@ class DIContainer extends SimpleContainer implements IAppContainer {
}
/**
- * @deprecated use the ILogger instead
- * @param string $message
- * @param string $level
- * @return mixed
- */
- public function log($message, $level) {
- switch ($level) {
- case 'debug':
- $level = ILogger::DEBUG;
- break;
- case 'info':
- $level = ILogger::INFO;
- break;
- case 'warn':
- $level = ILogger::WARN;
- break;
- case 'fatal':
- $level = ILogger::FATAL;
- break;
- default:
- $level = ILogger::ERROR;
- break;
- }
- \OCP\Util::writeLog($this->getAppName(), $message, $level);
- }
-
- /**
* Register a capability
*
* @param string $serviceName e.g. 'OCA\Files\Capabilities'