Removed BatchOperationTable#clearTable

This commit is contained in:
Rsl1122 2019-01-24 15:36:07 +02:00
parent ddca1574e8
commit bdcba82735

View File

@ -33,8 +33,6 @@ import com.djrapitops.plan.db.sql.tables.UsersTable;
* <p>
* The copy methods assume that the table has been cleared, or that no duplicate data will be entered for a user.
* <p>
* clearTable methods can be used to clear the table beforehand.
* <p>
* Server and User tables should be copied first.
*
* @author Rsl1122
@ -57,10 +55,6 @@ public class BatchOperationTable extends Table {
}
}
public void clearTable(Table table) {
table.removeAllData();
}
@Override
public void removeAllData() {
db.executeTransaction(new RemoveEverythingTransaction());