summaryrefslogtreecommitdiffstats
path: root/lib/private/updater.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-10-09 14:08:22 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-10-09 14:08:22 +0200
commit4cb5970947f915c801a6748ad26898831ed3b4c1 (patch)
tree1296c65af512b67cb3be071c577a183695b9d3f6 /lib/private/updater.php
parentbd21e5925cf5e2f388b0f2b0f92d15e887c18423 (diff)
downloadnextcloud-server-4cb5970947f915c801a6748ad26898831ed3b4c1.tar.gz
nextcloud-server-4cb5970947f915c801a6748ad26898831ed3b4c1.zip
Always pass in ILogger
Diffstat (limited to 'lib/private/updater.php')
-rw-r--r--lib/private/updater.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/private/updater.php b/lib/private/updater.php
index 69120427da8..70d68863788 100644
--- a/lib/private/updater.php
+++ b/lib/private/updater.php
@@ -198,9 +198,7 @@ class Updater extends BasicEmitter {
$installedVersion = $this->config->getSystemValue('version', '0.0.0');
$currentVersion = implode('.', \OC_Util::getVersion());
- if ($this->log) {
- $this->log->debug('starting upgrade from ' . $installedVersion . ' to ' . $currentVersion, array('app' => 'core'));
- }
+ $this->log->debug('starting upgrade from ' . $installedVersion . ' to ' . $currentVersion, array('app' => 'core'));
$success = true;
try {