diff --git a/mobile/lib/db/files_db.dart b/mobile/lib/db/files_db.dart index 0907cffaf5..6f5196349c 100644 --- a/mobile/lib/db/files_db.dart +++ b/mobile/lib/db/files_db.dart @@ -1643,23 +1643,6 @@ class FilesDB with SqlDbBase { return result; } - // For a given userID, return unique localID for all uploaded live photos - Future> getLivePhotosForUser(int userId) async { - final db = await instance.sqliteAsyncDB; - final rows = await db.getAll( - ''' - SELECT DISTINCT $columnLocalID FROM $filesTable - WHERE $columnOwnerID = ? AND $columnFileType = ? AND $columnLocalID IS NOT NULL - ''', - [userId, getInt(FileType.livePhoto)], - ); - final result = []; - for (final row in rows) { - result.add(row[columnLocalID] as String); - } - return result; - } - Future> getLocalFilesBackedUpWithoutLocation(int userId) async { final db = await instance.sqliteAsyncDB; final rows = await db.getAll(