mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 22:27:55 +01:00
Fix minor issue in drop tables.
This commit is contained in:
parent
3349f2e567
commit
ee93a8f7ab
@ -156,7 +156,7 @@ final public class NotificationService {
|
||||
model.put("userAgent", userAgent);
|
||||
|
||||
final String errorReporterEmail = mailer.getErrorReporterEmail();
|
||||
if (errorReporterEmail != null) {
|
||||
if (errorReporterEmail != null && !errorReporterEmail.isEmpty()) {
|
||||
mailer.sendEmail(mailer.getServerSenderEmail(), errorReporterEmail, "[WiseMapping] Editor error from " + user.getEmail(), model,
|
||||
"editorErrorReport.vm");
|
||||
}
|
||||
@ -174,7 +174,7 @@ final public class NotificationService {
|
||||
model.put("userAgent", userAgent);
|
||||
|
||||
final String errorReporterEmail = mailer.getErrorReporterEmail();
|
||||
if (errorReporterEmail != null) {
|
||||
if (errorReporterEmail != null && !errorReporterEmail.isEmpty()) {
|
||||
mailer.sendEmail(mailer.getServerSenderEmail(), errorReporterEmail, "[WiseMapping] Export error from " + user.getEmail(), model,
|
||||
"editorErrorReport.vm");
|
||||
}
|
||||
|
@ -3,18 +3,18 @@
|
||||
##################################################################################
|
||||
|
||||
# MySQL 5.X configuration properties
|
||||
database.url=jdbc:mysql://localhost/wisemapping
|
||||
database.driver=com.mysql.jdbc.Driver
|
||||
database.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
|
||||
database.username=wisemapping
|
||||
database.password=password
|
||||
#database.url=jdbc:mysql://localhost/wisemapping
|
||||
#database.driver=com.mysql.jdbc.Driver
|
||||
#database.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
|
||||
#database.username=wisemapping
|
||||
#database.password=password
|
||||
|
||||
# HSQL Configuration properties
|
||||
#database.url=jdbc:hsqldb:file:target/db/wisemapping
|
||||
#database.driver=org.hsqldb.jdbc.JDBCDriver
|
||||
#database.hibernate.dialect=org.hibernate.dialect.HSQLDialect
|
||||
#database.username=sa
|
||||
#database.password=
|
||||
database.url=jdbc:hsqldb:file:target/db/wisemapping
|
||||
database.driver=org.hsqldb.jdbc.JDBCDriver
|
||||
database.hibernate.dialect=org.hibernate.dialect.HSQLDialect
|
||||
database.username=sa
|
||||
database.password=
|
||||
|
||||
|
||||
##################################################################################
|
||||
@ -51,7 +51,7 @@ mail.serverSendEmail=root@localhost
|
||||
mail.supportEmail=root@localhost
|
||||
|
||||
# Optional: Unexpected error will be reported to this address.
|
||||
mail.errorReporterEmail=root@localhost
|
||||
mail.errorReporterEmail=
|
||||
|
||||
##################################################################################
|
||||
# Users Registration Configuration
|
||||
|
@ -1,3 +1,4 @@
|
||||
DROP TABLE ACCESS_AUDITORY;
|
||||
DROP TABLE TAG;
|
||||
DROP TABLE COLLABORATION;
|
||||
DROP TABLE COLLABORATION_PROPERTIES;
|
||||
@ -5,6 +6,5 @@ DROP TABLE MINDMAP_HISTORY;
|
||||
DROP TABLE MINDMAP;
|
||||
DROP TABLE USER;
|
||||
DROP TABLE COLLABORATOR;
|
||||
DROP TABLE USER_LOGIN;
|
||||
COMMIT;
|
||||
SHUTDOWN;
|
@ -1,9 +1,9 @@
|
||||
DROP TABLE TAG;
|
||||
DROP TABLE ACCESS_AUDITORY;
|
||||
DROP TABLE COLLABORATION;
|
||||
DROP TABLE COLLABORATION_PROPERTIES;
|
||||
DROP TABLE MINDMAP_HISTORY;
|
||||
DROP TABLE MINDMAP;
|
||||
DROP TABLE USER;
|
||||
DROP TABLE COLLABORATOR;
|
||||
DROP TABLE USER_LOGIN;
|
||||
COMMIT;
|
Loading…
Reference in New Issue
Block a user