mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-12-01 13:24:10 +01:00
Namespace fix.
This commit is contained in:
parent
307409b7e2
commit
71e247f097
@ -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'];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user