mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-16 20:00:39 +01:00
cleanup the event meta info at event deletion too
This commit is contained in:
parent
6780f6f250
commit
7ea9e214b1
@ -127,6 +127,9 @@ public class DBHelper extends SQLiteOpenHelper {
|
||||
final String selection = COL_ID + " IN (" + args + ")";
|
||||
mDb.delete(MAIN_TABLE_NAME, selection, null);
|
||||
|
||||
final String metaSelection = COL_EVENT_ID + " IN (" + args + ")";
|
||||
mDb.delete(META_TABLE_NAME, metaSelection, null);
|
||||
|
||||
if (mCallback != null)
|
||||
mCallback.eventsDeleted(ids.length);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user