no message
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
package Repository.Server;
|
||||
import Common.Constants;
|
||||
import Common.Database.DBObject;
|
||||
import Common.Global;
|
||||
import Common.Utils.Utils;
|
||||
@@ -37,6 +38,7 @@ public class ComponentsServer extends RepositoryServer<BugReportsDatabase> {
|
||||
public int getPort() {
|
||||
return 7995;
|
||||
}
|
||||
/*
|
||||
@Override
|
||||
public boolean needsEmail(String email) {
|
||||
if (db.subscribers.containsKey(email)) {
|
||||
@@ -44,6 +46,7 @@ public class ComponentsServer extends RepositoryServer<BugReportsDatabase> {
|
||||
}
|
||||
return false;
|
||||
}
|
||||
*/
|
||||
@Override
|
||||
public void DeleteAction(DBObject object) throws Exception {
|
||||
if (object instanceof BugReport) {
|
||||
@@ -409,7 +412,7 @@ public class ComponentsServer extends RepositoryServer<BugReportsDatabase> {
|
||||
//bonus backup
|
||||
if (rightNow.get(Calendar.DAY_OF_WEEK) == Calendar.MONDAY) {
|
||||
Vector<String> targets = new Vector<>();
|
||||
targets.add(Global.MailAddress);
|
||||
targets.add(Constants.MailAddress);
|
||||
targets.addAll(Arrays.asList(Global.admins_mails));
|
||||
EmailMessage message = new EmailMessage(
|
||||
"db backup",
|
||||
|
||||
Reference in New Issue
Block a user