mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-19 08:52:22 +01:00
Delete localeStorage entry on address book deletion
This commit is contained in:
parent
cbb7b0db8f
commit
2e9f7e6157
@ -141,13 +141,11 @@ OC.Contacts = OC.Contacts || {};
|
||||
* @param string addressBookId Address book ID
|
||||
*/
|
||||
Storage.prototype.deleteAddressBook = function(backend, addressBookId) {
|
||||
/* https://github.com/owncloud/core/pull/7652
|
||||
* var key = 'contacts::' + backend + '::' + addressBookId;
|
||||
var key = 'contacts::' + backend + '::' + addressBookId;
|
||||
|
||||
if(OC.localStorage.hasItem(key)) {
|
||||
OC.localStorage.removeItem(key);
|
||||
}
|
||||
*/
|
||||
|
||||
console.log('Storage.deleteAddressBook', backend, addressBookId);
|
||||
return this.requestRoute(
|
||||
|
Loading…
x
Reference in New Issue
Block a user