Fix image link deletion.

This commit is contained in:
NovaFox161
2017-11-21 09:09:40 -06:00
parent 9e689e3cc9
commit 03f639322d

View File

@@ -987,7 +987,8 @@ public class DatabaseManager {
//Check if recurring...
if (eventId.contains("_")) {
eventId = eventId.split("_")[0];
//Don't delete if child event of recurring event.
return false;
}
String query = "DELETE FROM " + eventTable + " WHERE EVENT_ID = ?";