Skip to content

Commit 33ce680

Browse files
committed
Remove unused deleteShippingPackages function
1 parent 146ebde commit 33ce680

File tree

1 file changed

+0
-3
lines changed
  • libs/fluxc-plugin/src/main/kotlin/org/wordpress/android/fluxc/persistence/dao

1 file changed

+0
-3
lines changed

libs/fluxc-plugin/src/main/kotlin/org/wordpress/android/fluxc/persistence/dao/WooShippingDao.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,6 @@ abstract class WooShippingDao {
114114
@Query("SELECT * FROM WooShippingPackagesEntity WHERE localSiteId = :localSiteId")
115115
abstract suspend fun getShippingPackages(localSiteId: LocalOrRemoteId.LocalId): WooShippingPackagesEntity?
116116

117-
@Query("DELETE FROM WooShippingPackagesEntity WHERE localSiteId = :localSiteId")
118-
abstract suspend fun deleteShippingPackages(localSiteId: LocalOrRemoteId.LocalId)
119-
120117
@Query("SELECT * FROM WooShippingPackagesEntity WHERE localSiteId = :localSiteId")
121118
abstract fun observeShippingPackages(localSiteId: LocalOrRemoteId.LocalId): Flow<WooShippingPackagesEntity?>
122119
}

0 commit comments

Comments
 (0)