Skip to content

Commit

Permalink
MonitoringBackend: fix variable name in exception
Browse files Browse the repository at this point in the history
refs #7635
  • Loading branch information
Thomas-Gelf committed Nov 11, 2014
1 parent 9431a34 commit 78fd510
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -73,7 +73,7 @@ public static function instance($name = null)
)
);

if (! class_exists($class)) {
if (!class_exists($class)) {
throw new ConfigurationError(
mt('monitoring', 'There is no "%s" monitoring backend'),
$class
Expand Down Expand Up @@ -256,7 +256,7 @@ protected function buildViewClassName($view)
if (!class_exists($class)) {
throw new ProgrammingError(
'DataView %s does not exist',
ucfirst($viewName)
ucfirst($view)
);
}
return $class;
Expand Down

0 comments on commit 78fd510

Please sign in to comment.