Disable SQL create table queries until they are approved.
This commit is contained in:
parent
d09ed2a823
commit
4b5ddf5385
@ -48,8 +48,6 @@ public class ReportManager {
|
||||
this.reportRepository = new RedisDataRepository<Report>(Region.ALL, Report.class, "reports");
|
||||
this.reportProfiles = new RedisDataRepository<ReportProfile>(Region.ALL, ReportProfile.class, "reportprofiles");
|
||||
this.activeReports = new HashMap<String, Integer>();
|
||||
|
||||
// TODO: Get JavaPlugin instance and locate ConnectionString from config?
|
||||
this.reportSqlRepository = new ReportRepository();
|
||||
reportSqlRepository.initialize();
|
||||
}
|
||||
|
@ -39,9 +39,10 @@ This will be used to determine if staff are handling
|
||||
@Override
|
||||
protected void initialize()
|
||||
{
|
||||
executeUpdate(CREATE_TICKET_TABLE);
|
||||
executeUpdate(CREATE_HANDLER_TABLE);
|
||||
executeUpdate(CREATE_REPORTERS_TABLE);
|
||||
// disabled until approved
|
||||
// executeUpdate(CREATE_TICKET_TABLE);
|
||||
// executeUpdate(CREATE_HANDLER_TABLE);
|
||||
// executeUpdate(CREATE_REPORTERS_TABLE);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user