From c4fef79f32c318dc048565d919b6755f01433f8e Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 8 Apr 2019 10:55:18 +0200 Subject: [PATCH 1/2] Add subject to DB Update email --- src/Core/Update.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Core/Update.php b/src/Core/Update.php index 8c15002a6..d2bbc237c 100644 --- a/src/Core/Update.php +++ b/src/Core/Update.php @@ -411,6 +411,7 @@ class Update 'uid' => $admin['uid'], 'type' => SYSTEM_EMAIL, 'to_email' => $admin['email'], + 'subject' => l10n::t('[Friendica Notify] Database update'), 'preamble' => $preamble, 'body' => $body, 'language' => $lang] From 1b339547f304430b40e3178d9e2a9379ac11cbd1 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 9 Apr 2019 05:17:02 +0000 Subject: [PATCH 2/2] Fix warning --- src/App.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/App.php b/src/App.php index 1649a8745..2576cc5d8 100644 --- a/src/App.php +++ b/src/App.php @@ -1270,7 +1270,8 @@ class App // 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);