From 92fdd21ac9c67c41a79bb840e8cea2bbda70f834 Mon Sep 17 00:00:00 2001 From: Eric Date: Sat, 17 Aug 2019 23:37:56 +0200 Subject: [PATCH] Remove API method to remove shop by ID --- .../java/de/epiceric/shopchest/api/ShopManager.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/api/src/main/java/de/epiceric/shopchest/api/ShopManager.java b/api/src/main/java/de/epiceric/shopchest/api/ShopManager.java index fdf9b11..97fa8e4 100644 --- a/api/src/main/java/de/epiceric/shopchest/api/ShopManager.java +++ b/api/src/main/java/de/epiceric/shopchest/api/ShopManager.java @@ -110,16 +110,6 @@ public interface ShopManager { * @since 1.13 */ void removeShop(Shop shop, Consumer callback, Consumer errorCallback); - - /** - * Removes a shop from the database by its ID - * - * @param shopId the id of the shop to remove - * @param callback the callback returning nothing on success - * @param errorCallback the callback returning the error if one occurred - * @since 1.13 - */ - void removeShop(int shopId, Consumer callback, Consumer errorCallback); /** * Asynchronously reloads all shops from the database