Skip to content
Snippets Groups Projects
Commit 2c3146da authored by Jaime Pérez's avatar Jaime Pérez
Browse files

Get rid of the last remaining calls to SimpleSAML_Logger.

parent b02c5432
No related branches found
No related tags found
No related merge requests found
...@@ -348,7 +348,7 @@ class SimpleSAML_XHTML_Template ...@@ -348,7 +348,7 @@ class SimpleSAML_XHTML_Template
} }
// not found in current theme // not found in current theme
\SimpleSAML_Logger::debug( \SimpleSAML\Logger::debug(
$_SERVER['PHP_SELF'].' - Template: Could not find template file ['.$template.'] at ['. $_SERVER['PHP_SELF'].' - Template: Could not find template file ['.$template.'] at ['.
$filename.'] - now trying the base template' $filename.'] - now trying the base template'
); );
...@@ -370,7 +370,7 @@ class SimpleSAML_XHTML_Template ...@@ -370,7 +370,7 @@ class SimpleSAML_XHTML_Template
if ($throw_exception) { if ($throw_exception) {
// log error and throw exception // log error and throw exception
$error = 'Template: Could not find template file ['.$template.'] at ['.$filename.']'; $error = 'Template: Could not find template file ['.$template.'] at ['.$filename.']';
\SimpleSAML_Logger::critical($_SERVER['PHP_SELF'].' - '.$error); \SimpleSAML\Logger::critical($_SERVER['PHP_SELF'].' - '.$error);
throw new Exception($error); throw new Exception($error);
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment