mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-11-29 11:24:11 +01:00
Use type, not app for categories.
This commit is contained in:
parent
4890bdf705
commit
451716dbba
@ -41,7 +41,7 @@ foreach($contacts as $contact) {
|
|||||||
|
|
||||||
debug('Before delete: '.print_r($categories, true));
|
debug('Before delete: '.print_r($categories, true));
|
||||||
|
|
||||||
$catman = new OC_VCategories('contacts');
|
$catman = new OC_VCategories('contact');
|
||||||
$catman->delete($categories, $cards);
|
$catman->delete($categories, $cards);
|
||||||
debug('After delete: '.print_r($catman->categories(), true));
|
debug('After delete: '.print_r($catman->categories(), true));
|
||||||
OC_Contacts_VCard::updateDataByID($cards);
|
OC_Contacts_VCard::updateDataByID($cards);
|
||||||
|
Loading…
Reference in New Issue
Block a user