mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-30 01:04:09 +02:00
parent
9431a3432f
commit
78fd5109ac
@ -73,7 +73,7 @@ class MonitoringBackend implements Selectable, Queryable, ConnectionInterface
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
if (! class_exists($class)) {
|
if (!class_exists($class)) {
|
||||||
throw new ConfigurationError(
|
throw new ConfigurationError(
|
||||||
mt('monitoring', 'There is no "%s" monitoring backend'),
|
mt('monitoring', 'There is no "%s" monitoring backend'),
|
||||||
$class
|
$class
|
||||||
@ -256,7 +256,7 @@ class MonitoringBackend implements Selectable, Queryable, ConnectionInterface
|
|||||||
if (!class_exists($class)) {
|
if (!class_exists($class)) {
|
||||||
throw new ProgrammingError(
|
throw new ProgrammingError(
|
||||||
'DataView %s does not exist',
|
'DataView %s does not exist',
|
||||||
ucfirst($viewName)
|
ucfirst($view)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return $class;
|
return $class;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user