Revert "Fixed log view menu"

This reverts commit a822d9da2c.
This commit is contained in:
M66B 2016-01-19 08:06:26 +01:00
parent 4cc08ee9a6
commit d5f7796907
2 changed files with 2 additions and 3 deletions

View File

@ -159,7 +159,7 @@ public class DatabaseHelper extends SQLiteOpenHelper {
public Cursor getLog(String filter) {
SQLiteDatabase db = this.getReadableDatabase();
String query = "SELECT ID AS _id, * FROM log";
query += " WHERE ip LIKE ?";
query += " WHERE ip like ?";
query += " ORDER BY time DESC";
return db.rawQuery(query, new String[]{"%" + filter + "%"});

View File

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:netguard="http://schemas.android.com/apk/res-auto">
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/menu_enabled"
android:checkable="true"