Fix typo in migration constraint resolution

Fixes #6846

// FREEBIE
fork-5.53.8
Moxie Marlinspike 2017-08-02 08:02:15 -07:00
rodzic ae93038d66
commit 24c48afd2e
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1007,7 +1007,7 @@ public class DatabaseFactory {
db.update("recipient_preferences", values, "_id = ?", new String[] {String.valueOf(id)});
} catch (SQLiteConstraintException e) {
Log.w(TAG, e);
db.delete("recipient_preference", "_id = ?", new String[] {String.valueOf(id)});
db.delete("recipient_preferences", "_id = ?", new String[] {String.valueOf(id)});
}
}