diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-03-30 10:55:41 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-04-26 16:52:52 +0200 |
commit | 069477e608566c6ea9edbe259b46c591a82bd8af (patch) | |
tree | df1d338e1d61d1c1b2151e1843dfaff7585818d1 /lib/private/Installer.php | |
parent | 0654b245280a904068079b71c5339561537fdf78 (diff) | |
download | nextcloud-server-069477e608566c6ea9edbe259b46c591a82bd8af.tar.gz nextcloud-server-069477e608566c6ea9edbe259b46c591a82bd8af.zip |
Migrate more classes of lib/private to LoggerInterface
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/Installer.php')
-rw-r--r-- | lib/private/Installer.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/Installer.php b/lib/private/Installer.php index 95143656295..86d933b6fbd 100644 --- a/lib/private/Installer.php +++ b/lib/private/Installer.php @@ -51,7 +51,6 @@ use OC_Helper; use OCP\HintException; use OCP\Http\Client\IClientService; use OCP\IConfig; -use OCP\ILogger; use OCP\ITempManager; use phpseclib\File\X509; use Psr\Log\LoggerInterface; @@ -501,7 +500,7 @@ class Installer { OC_Helper::rmdirr($appDir); return true; } else { - \OCP\Util::writeLog('core', 'can\'t remove app '.$appId.'. It is not installed.', ILogger::ERROR); + $this->logger->error('can\'t remove app '.$appId.'. It is not installed.'); return false; } |