no message
This commit is contained in:
@@ -141,7 +141,10 @@ public class ComponentsServer extends RepositoryServer<BugReportsDatabase> {
|
||||
Email(message, address);
|
||||
}
|
||||
}
|
||||
//--
|
||||
}
|
||||
@Override
|
||||
public void ActivateDB() {
|
||||
super.ActivateDB();
|
||||
try {
|
||||
credentials_db = new CredentialsDatabase();
|
||||
credentials_db.Activate();
|
||||
@@ -339,6 +342,9 @@ public class ComponentsServer extends RepositoryServer<BugReportsDatabase> {
|
||||
}
|
||||
response.object = account;
|
||||
}
|
||||
void ReceiveCredentialsDatabase() throws Exception{
|
||||
response.object = Utils_.fileToBytes(credentials_db.getFile());
|
||||
}
|
||||
//--
|
||||
@Override
|
||||
protected void UnsafeSession() throws Exception {
|
||||
@@ -375,6 +381,9 @@ public class ComponentsServer extends RepositoryServer<BugReportsDatabase> {
|
||||
@Override
|
||||
protected void Session() throws Exception {
|
||||
switch (code) {
|
||||
case ReceiveCredentialsDatabase:
|
||||
ReceiveCredentialsDatabase();
|
||||
break;
|
||||
case ReceiveAllArchives:
|
||||
ReceiveAllArchives();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user