Remove API method to remove shop by ID

This commit is contained in:
Eric 2019-08-17 23:37:56 +02:00
parent 50b69f6445
commit 92fdd21ac9

View File

@ -110,16 +110,6 @@ public interface ShopManager {
* @since 1.13
*/
void removeShop(Shop shop, Consumer<Void> callback, Consumer<Throwable> 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<Void> callback, Consumer<Throwable> errorCallback);
/**
* Asynchronously reloads all shops from the database