1
0
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:
Thomas Tanghus 2012-10-19 02:28:27 +02:00
parent 4890bdf705
commit 451716dbba

View File

@ -41,7 +41,7 @@ foreach($contacts as $contact) {
debug('Before delete: '.print_r($categories, true));
$catman = new OC_VCategories('contacts');
$catman = new OC_VCategories('contact');
$catman->delete($categories, $cards);
debug('After delete: '.print_r($catman->categories(), true));
OC_Contacts_VCard::updateDataByID($cards);