From 71e247f0974a524df391ab350a3e36708f317102 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Thu, 1 Nov 2012 15:31:36 +0100 Subject: [PATCH] Namespace fix. --- lib/app.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/app.php b/lib/app.php index 670dfa6c..13d766f0 100644 --- a/lib/app.php +++ b/lib/app.php @@ -219,11 +219,11 @@ class App { */ public static function scanCategories($vccontacts = null) { if (is_null($vccontacts)) { - $vcaddressbooks = Addressbook::all(OCP\USER::getUser()); + $vcaddressbooks = Addressbook::all(\OCP\USER::getUser()); if(count($vcaddressbooks) > 0) { $vcaddressbookids = array(); foreach($vcaddressbooks as $vcaddressbook) { - if($vcaddressbook['userid'] === OCP\User::getUser()) { + if($vcaddressbook['userid'] === \OCP\User::getUser()) { $vcaddressbookids[] = $vcaddressbook['id']; } }