actually run postRun hook

This commit is contained in:
Uwe Steinmann 2025-05-16 19:11:42 +02:00
parent ba18e89cda
commit 7fe2a12af3

View File

@ -75,7 +75,7 @@ class SeedDMS_Controller_Common {
if(method_exists($this, $action)) {
$refl = new ReflectionMethod($this, $action);
if($refl->isPublic())
return $this->{$action}();
$ret = $this->{$action}();
else {
echo "Action '".$action."' not public";
return false;
@ -85,11 +85,12 @@ class SeedDMS_Controller_Common {
return false;
}
} else
return $this->run();
$ret = $this->run();
} else {
return false;
}
$this->callHook('postRun', get_class($this), $action ? $action : 'run');
return $ret;
}
public function setParams($params) {