Skip to content
Snippets Groups Projects
Commit 2599c01a authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Fix namespace deprecation warnings

parent 95a28a03
No related branches found
No related tags found
No related merge requests found
......@@ -93,7 +93,7 @@ class Ruleset
$presenterClass = \SimpleSAML\Module::resolveClass(
$statruleConfig->getValue('presenter', 'statistics:BaseRule'),
'Statistics_Rulesets'
'Statistics\Rulesets'
);
$statrule = new $presenterClass($this->statconfig, $statruleConfig, $rule, $this->available);
return $statrule;
......
......@@ -244,7 +244,7 @@ class StatDataset
$fieldpresConfig = $this->ruleconfig->getConfigItem('fieldPresentation');
$classname = \SimpleSAML\Module::resolveClass(
$fieldpresConfig->getValue('class'),
'Statistics_FieldPresentation'
'Statistics\FieldPresentation'
);
if (!class_exists($classname)) {
throw new \Exception('Could not find field presentation plugin ['.$classname.']: No class found');
......
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