summaryrefslogtreecommitdiffstats
path: root/apps/contacts/lib/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/contacts/lib/app.php')
-rwxr-xr-xapps/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 4e840026ce3..636b9a84b9d 100755
--- a/apps/contacts/lib/app.php
+++ b/apps/contacts/lib/app.php
@@ -53,7 +53,7 @@ class OC_Contacts_App {
$vcard = OC_VObject::parse($card['carddata']);
// Try to fix cards with missing 'N' field from pre ownCloud 4. Hot damn, this is ugly...
if(!is_null($vcard) && !$vcard->__isset('N')) {
- $appinfo = OC_App::getAppInfo('contacts');
+ $appinfo = OCP\App::getAppInfo('contacts');
if($appinfo['version'] >= 5) {
OCP\Util::writeLog('contacts','OC_Contacts_App::getContactVCard. Deprecated check for missing N field', OCP\Util::DEBUG);
}