Remove cleanupUsers functionality

It was pretty useless (and wasn't implemented on SQL/Mongo storage types.) Data is naturally cleaned up over time as users are loaded/saved.
This commit is contained in:
Luck
2017-10-12 20:38:08 +01:00
Unverified
parent 7b271e21e3
commit 5732e60510
12 changed files with 5 additions and 109 deletions
@@ -138,9 +138,13 @@ public interface Storage {
* Removes users from the main storage who are "default". This is called every time the plugin loads.
*
* @return true if the operation completed successfully
* @deprecated this method no longer does anything - the cleanup feature was removed. :)
*/
@Nonnull
CompletableFuture<Boolean> cleanupUsers();
@Deprecated
default CompletableFuture<Boolean> cleanupUsers() {
return CompletableFuture.completedFuture(false);
}
/**
* Gets a set all "unique" user UUIDs.