diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-07-03 14:06:40 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-07-03 18:00:16 +0200 |
commit | d3ac73c0c9419750c65d3ccb8f0b0c25edacf34f (patch) | |
tree | 6517676c49da188ae4ee832245236fe0e1e25cf3 /lib/private/files/storage | |
parent | 68fd74963eda73fe0e3173cde495c284ea1fd8f4 (diff) | |
download | nextcloud-server-d3ac73c0c9419750c65d3ccb8f0b0c25edacf34f.tar.gz nextcloud-server-d3ac73c0c9419750c65d3ccb8f0b0c25edacf34f.zip |
Remove OC_Log
Diffstat (limited to 'lib/private/files/storage')
-rw-r--r-- | lib/private/files/storage/local.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/files/storage/local.php b/lib/private/files/storage/local.php index 839fb81d5a0..b7272b7d1f0 100644 --- a/lib/private/files/storage/local.php +++ b/lib/private/files/storage/local.php @@ -203,17 +203,17 @@ class Local extends \OC\Files\Storage\Common { $dstParent = dirname($path2); if (!$this->isUpdatable($srcParent)) { - \OC_Log::write('core', 'unable to rename, source directory is not writable : ' . $srcParent, \OC_Log::ERROR); + \OCP\Util::writeLog('core', 'unable to rename, source directory is not writable : ' . $srcParent, \OCP\Util::ERROR); return false; } if (!$this->isUpdatable($dstParent)) { - \OC_Log::write('core', 'unable to rename, destination directory is not writable : ' . $dstParent, \OC_Log::ERROR); + \OCP\Util::writeLog('core', 'unable to rename, destination directory is not writable : ' . $dstParent, \OCP\Util::ERROR); return false; } if (!$this->file_exists($path1)) { - \OC_Log::write('core', 'unable to rename, file does not exists : ' . $path1, \OC_Log::ERROR); + \OCP\Util::writeLog('core', 'unable to rename, file does not exists : ' . $path1, \OCP\Util::ERROR); return false; } |