summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-10-06 14:18:22 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-10-06 14:18:22 +0200
commit48ef5b6b3bcb2ce0cd153d7590b00b11fedbf4e4 (patch)
treec72fa4052fb8f1689cb0ecd7e119dcef519e4d37 /lib
parent6651aa19ea8f0a617bcf22126e8cda70466400af (diff)
downloadnextcloud-server-48ef5b6b3bcb2ce0cd153d7590b00b11fedbf4e4.tar.gz
nextcloud-server-48ef5b6b3bcb2ce0cd153d7590b00b11fedbf4e4.zip
OC_Log not longer exists
Diffstat (limited to 'lib')
-rw-r--r--lib/private/share/share.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/share/share.php b/lib/private/share/share.php
index 97c36a03c86..49eeb3829c4 100644
--- a/lib/private/share/share.php
+++ b/lib/private/share/share.php
@@ -719,7 +719,7 @@ class Share extends Constants {
if ($checkExists['uid_owner'] != $uidOwner || $checkExists['share_type'] == $shareType) {
$message = 'Sharing %s failed, because this item is already shared with user %s';
$message_t = $l->t('Sharing %s failed, because this item is already shared with user %s', array($itemSourceName, $shareWith));
- \OC_Log::write('OCP\Share', sprintf($message, $itemSourceName, $shareWith), \OC_Log::ERROR);
+ \OCP\Util::writeLog('OCP\Share', sprintf($message, $itemSourceName, $shareWith), \OCP\Util::ERROR);
throw new \Exception($message_t);
}
}