removing an unused debug function

This commit is contained in:
tibbi 2020-01-27 20:34:59 +01:00
parent 817229a697
commit 665690c819

View file

@ -1,6 +1,9 @@
package com.simplemobiletools.gallery.pro.interfaces
import androidx.room.*
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import com.simplemobiletools.gallery.pro.models.Favorite
@Dao
@ -11,9 +14,6 @@ interface FavoritesDao {
@Insert(onConflict = OnConflictStrategy.REPLACE)
fun insertAll(favorites: List<Favorite>)
@Query("SELECT full_path FROM favorites")
fun getFavoriteRawPaths(): List<String>
@Query("SELECT favorites.full_path FROM favorites INNER JOIN media ON favorites.full_path = media.full_path WHERE media.deleted_ts = 0")
fun getValidFavoritePaths(): List<String>