Skip to content
This repository has been archived by the owner on Sep 19, 2020. It is now read-only.

Commit

Permalink
version 1.13 + nicer icon for localhost email
Browse files Browse the repository at this point in the history
  • Loading branch information
jirkapinkas committed Jul 17, 2015
1 parent c92b0e4 commit 982e313
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public void init() throws Exception {
}
System.out.println("*** DATABASE INIT STARTED ***");
configuration = new Configuration();
configuration.setMonitoringVersion("2.1.12");
configuration.setMonitoringVersion("2.1.13");
configuration.setEmailSubject("sitemonitoring error");
configuration.setEmailBody("check name:{CHECK-NAME}\n\ncheck url: {CHECK-URL}\n\nerror:\n{ERROR}");
configuration.setDefaultSingleCheckInterval(5);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ public void upgradeDatabase(Configuration configuration) {
configurationService.saveExcludingPassword(configuration);
configuration = configurationService.find();
}
if (configuration.getMonitoringVersion().equals("2.1.12")) {
configuration.setMonitoringVersion("2.1.13");
configurationService.saveExcludingPassword(configuration);
configuration = configurationService.find();
}
}

private void update(String sql) {
Expand Down
Binary file modified src/main/webapp/resources/images/home.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 982e313

Please sign in to comment.