From 5df815da58d984948e8a224d6fdea8ef2ac15d89 Mon Sep 17 00:00:00 2001 From: Neeraj Gupta <254676+ua741@users.noreply.github.com> Date: Thu, 17 Apr 2025 15:45:02 +0530 Subject: [PATCH] Remove unused method --- mobile/lib/db/files_db.dart | 17 ----------------- 1 file changed, 17 deletions(-) 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(