Setup/Webserver: Adapt class names to filename

refs #6120
This commit is contained in:
Marius Hein 2014-11-06 10:41:28 +01:00
parent bb7f465c0e
commit 8e28fff524
3 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ namespace Icinga\Clicommands;
use Icinga\Application\Logger;
use Icinga\Cli\Command;
use Icinga\Config\Webserver\WebServer;
use Icinga\Config\Webserver\Webserver;
use Icinga\Exception\ProgrammingError;
/**
@ -153,7 +153,7 @@ class SetupCommand extends Command
$this->fail($this->translate('Argument type is mandatory.'));
}
try {
$webserver = WebServer::createInstance($type);
$webserver = Webserver::createInstance($type);
} catch (ProgrammingError $e) {
$this->fail($this->translate('Unknown type') . ': ' . $type);
}

View File

@ -7,7 +7,7 @@ namespace Icinga\Config\Webserver;
/**
* Generate apache 2.x (< 2.4) configuration
*/
class Apache2 extends WebServer
class Apache2 extends Webserver
{
/**
* @return array

View File

@ -10,7 +10,7 @@ use Icinga\Exception\ProgrammingError;
/**
* Generate webserver configuration
*/
abstract class WebServer
abstract class Webserver
{
/**
* Web path