mirror of
https://github.com/nextcloud/notes-android.git
synced 2024-11-23 13:26:15 +03:00
Remove useless group by and order by in NotesDatabase.java
This commit is contained in:
parent
5854b90877
commit
35fafaf557
1 changed files with 2 additions and 2 deletions
|
@ -822,9 +822,9 @@ public class NotesDatabase extends AbstractNotesDatabase {
|
|||
new String[]{key_category_id},
|
||||
key_category_title + " = ? AND " + key_category_account_id + " = ? ",
|
||||
new String[]{categoryTitle, String.valueOf(accountId)},
|
||||
key_category_id,
|
||||
null,
|
||||
key_category_id);
|
||||
null,
|
||||
null);
|
||||
int id = -1;
|
||||
if (cursor.moveToNext()) {
|
||||
id = cursor.getInt(0);
|
||||
|
|
Loading…
Reference in a new issue