// First we try explicit routes defined in App\Router
$this->router->collectRoutes();
- Hook::callAll('route_collection', $this->router->getRouteCollector());
+ $data = $this->router->getRouteCollector();
+ Hook::callAll('route_collection', $data);
$this->module_class = $this->router->getModuleClass($this->cmd);
'uid' => $admin['uid'],
'type' => SYSTEM_EMAIL,
'to_email' => $admin['email'],
+ 'subject' => l10n::t('[Friendica Notify] Database update'),
'preamble' => $preamble,
'body' => $body,
'language' => $lang]