aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-05-21 21:04:52 +0200
committerChristian Schneppe <christian@pix-art.de>2018-05-21 21:04:52 +0200
commit03cfa37eefe63142cf199e4537ae25857804ac6f (patch)
tree878d97990478c0ea0791775ae605cd112cc3cb1c /src/main/java/de
parent0da1ddcb97fe430584a7232a29a3ca4bc01161e9 (diff)
set pragme secure delete properly
Diffstat (limited to 'src/main/java/de')
-rw-r--r--src/main/java/de/pixart/messenger/persistance/DatabaseBackend.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/persistance/DatabaseBackend.java b/src/main/java/de/pixart/messenger/persistance/DatabaseBackend.java
index c15ef40e8..b2f4fe9d5 100644
--- a/src/main/java/de/pixart/messenger/persistance/DatabaseBackend.java
+++ b/src/main/java/de/pixart/messenger/persistance/DatabaseBackend.java
@@ -187,7 +187,7 @@ public class DatabaseBackend extends SQLiteOpenHelper {
@Override
public void onConfigure(SQLiteDatabase db) {
db.execSQL("PRAGMA foreign_keys=ON");
- db.execSQL("PRAGMA secure_delete=ON");
+ db.rawQuery("PRAGMA secure_delete=ON", null);
}
@Override