summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/ShareBackend
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/lib/ShareBackend')
-rw-r--r--apps/files_sharing/lib/ShareBackend/File.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/ShareBackend/File.php b/apps/files_sharing/lib/ShareBackend/File.php
index dc1018f88a5..bb28c1a33ac 100644
--- a/apps/files_sharing/lib/ShareBackend/File.php
+++ b/apps/files_sharing/lib/ShareBackend/File.php
@@ -229,7 +229,7 @@ class File implements \OCP\Share_Backend_File_Dependent {
if (isset($fileOwner)) {
$source['fileOwner'] = $fileOwner;
} else {
- \OCP\Util::writeLog('files_sharing', "No owner found for reshare", \OCP\Util::ERROR);
+ \OC::$server->getLogger()->error('No owner found for reshare', ['app' => 'files_sharing']);
}
return $source;