MonitoringBackend: fix variable name in exception

refs #7635
This commit is contained in:
Thomas Gelf 2014-11-11 17:23:49 +01:00
parent 9431a3432f
commit 78fd5109ac
1 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ class MonitoringBackend implements Selectable, Queryable, ConnectionInterface
)
);
if (! class_exists($class)) {
if (!class_exists($class)) {
throw new ConfigurationError(
mt('monitoring', 'There is no "%s" monitoring backend'),
$class
@ -256,7 +256,7 @@ class MonitoringBackend implements Selectable, Queryable, ConnectionInterface
if (!class_exists($class)) {
throw new ProgrammingError(
'DataView %s does not exist',
ucfirst($viewName)
ucfirst($view)
);
}
return $class;