summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Needham <needham.thomas@gmail.com>2012-02-18 23:53:10 +0000
committerTom Needham <needham.thomas@gmail.com>2012-02-18 23:53:10 +0000
commit71a2241aee6f5f372b43fe977e494fea8a98d9cd (patch)
tree0f241156ae2a230f293ef5cfa8e8916a4f2a428c
parent2ee2f87efee630d9f85c8fe11c783901c469addf (diff)
downloadnextcloud-server-71a2241aee6f5f372b43fe977e494fea8a98d9cd.tar.gz
nextcloud-server-71a2241aee6f5f372b43fe977e494fea8a98d9cd.zip
Fixed call to OC_User. Thanks Burillo on IRC
-rw-r--r--apps/contacts/lib/app.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/lib/app.php b/apps/contacts/lib/app.php
index 016bd2b791a..ff348403a9b 100644
--- a/apps/contacts/lib/app.php
+++ b/apps/contacts/lib/app.php
@@ -53,7 +53,7 @@ class OC_Contacts_App {
OC_Log::write('contacts', 'Addressbook not found: '. $id, OC_Log::ERROR);
}
else {
- OC_Log::write('contacts', 'Addressbook('.$id.') is not from '.$OC_User::getUser(), OC_Log::ERROR);
+ OC_Log::write('contacts', 'Addressbook('.$id.') is not from '.OC_User::getUser(), OC_Log::ERROR);
}
OC_JSON::error(array('data' => array( 'message' => self::$l10n->t('This is not your addressbook.')))); // Same here (as with the contact error). Could this error be improved?
exit();