Disable SQL create table queries until they are approved.

This commit is contained in:
Keir 2015-11-01 19:14:29 +00:00
parent d09ed2a823
commit 4b5ddf5385
2 changed files with 4 additions and 5 deletions

View File

@ -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();
}

View File

@ -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