1
0
Fork 0

removed unused prepare2 method

This commit is contained in:
Jan Steemann 2015-10-12 10:42:53 +02:00
parent aea2acbca1
commit 94bc7ed0ad
2 changed files with 0 additions and 27 deletions

View File

@ -393,27 +393,6 @@ bool ApplicationEndpointServer::prepare () {
/// {@inheritDoc}
////////////////////////////////////////////////////////////////////////////////
bool ApplicationEndpointServer::prepare2 () {
if (_disabled) {
return true;
}
// scheduler might be created after prepare(), so we need to use prepare2()!!
Scheduler* scheduler = _applicationScheduler->scheduler();
if (scheduler == nullptr) {
LOG_FATAL_AND_EXIT("no scheduler is known, cannot create server");
return false;
}
return true;
}
////////////////////////////////////////////////////////////////////////////////
/// {@inheritDoc}
////////////////////////////////////////////////////////////////////////////////
bool ApplicationEndpointServer::open () {
if (_disabled) {
return true;

View File

@ -155,12 +155,6 @@ namespace triagens {
bool prepare ();
////////////////////////////////////////////////////////////////////////////////
/// {@inheritDoc}
////////////////////////////////////////////////////////////////////////////////
bool prepare2 ();
////////////////////////////////////////////////////////////////////////////////
/// {@inheritDoc}
////////////////////////////////////////////////////////////////////////////////