remove unused method
This commit is contained in:
parent
dc0c856a4c
commit
40c76edbc5
|
@ -1172,22 +1172,6 @@ class FilesDB {
|
|||
return collectionMap.values.toList();
|
||||
}
|
||||
|
||||
Future<File> getLastModifiedFileInCollection(int collectionID) async {
|
||||
final db = await instance.database;
|
||||
final rows = await db.query(
|
||||
filesTable,
|
||||
where: '$columnCollectionID = ?',
|
||||
whereArgs: [collectionID],
|
||||
orderBy: '$columnUpdationTime DESC',
|
||||
limit: 1,
|
||||
);
|
||||
if (rows.isNotEmpty) {
|
||||
return _getFileFromRow(rows[0]);
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Future<Map<String, int>> getFileCountInDeviceFolders() async {
|
||||
final db = await instance.database;
|
||||
final rows = await db.rawQuery(
|
||||
|
|
Loading…
Reference in a new issue