summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-10-06 14:46:02 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-10-06 14:46:02 +0200
commit191f1b2d49afe980f43bdf6c0cc2c8cbb7f88c91 (patch)
tree5d19d50dfe6758de7da472afb8234fc1f37c131b
parent4b31b349b876bef5ef1839add20017b9ad048447 (diff)
parent48ef5b6b3bcb2ce0cd153d7590b00b11fedbf4e4 (diff)
downloadnextcloud-server-191f1b2d49afe980f43bdf6c0cc2c8cbb7f88c91.tar.gz
nextcloud-server-191f1b2d49afe980f43bdf6c0cc2c8cbb7f88c91.zip
Merge pull request #19603 from owncloud/fix-invalid-class-usage
OC_Log not longer exists
-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);
}
}