]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fixed call to OC_User. Thanks Burillo on IRC
authorTom Needham <needham.thomas@gmail.com>
Sat, 18 Feb 2012 23:53:10 +0000 (23:53 +0000)
committerTom Needham <needham.thomas@gmail.com>
Sat, 18 Feb 2012 23:53:10 +0000 (23:53 +0000)
apps/contacts/lib/app.php

index 016bd2b791ac46cbf66f2ebb54247775f5a36cc2..ff348403a9bf7838bcbb868ab98df901178e959b 100644 (file)
@@ -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();