Skip to content

Commit ebfd0f0

Browse files
committed
Remove comments
1 parent 4646644 commit ebfd0f0

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

libs/fluxc-plugin/src/main/kotlin/org/wordpress/android/fluxc/store/pos/localcatalog/WooPosLocalCatalogStore.kt

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -275,13 +275,6 @@ class WooPosLocalCatalogStore @Inject constructor(
275275
): Result<Unit> =
276276
runCatching { posProductDao.deleteAllProductsForSite(siteId) }
277277

278-
/**
279-
* Deletes products and their variations from the local database.
280-
*
281-
* @param siteId The local site ID
282-
* @param productIds The list of remote product IDs to delete
283-
* @return Result indicating success or failure
284-
*/
285278
suspend fun deleteProducts(
286279
siteId: LocalOrRemoteId.LocalId,
287280
productIds: List<LocalOrRemoteId.RemoteId>
@@ -295,13 +288,6 @@ class WooPosLocalCatalogStore @Inject constructor(
295288
}
296289
}
297290

298-
/**
299-
* Deletes specific variations from the local database without affecting the parent product.
300-
*
301-
* @param siteId The local site ID
302-
* @param variations List of (productId, variationId) pairs to delete
303-
* @return Result indicating success or failure
304-
*/
305291
suspend fun deleteVariations(
306292
siteId: LocalOrRemoteId.LocalId,
307293
variations: List<Pair<LocalOrRemoteId.RemoteId, LocalOrRemoteId.RemoteId>>

0 commit comments

Comments
 (0)