X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FUpdate.php;h=a52ef903b2da8867854fc1660317d57817e51cec;hb=8146ff150530fc742720b6c03f6f419260013484;hp=328938fe1c6b35b17a84ad4a8f4ba77307e80203;hpb=318a3ca785474fa27fbff9b3ee19fd4c04261ecd;p=friendica.git diff --git a/src/Core/Update.php b/src/Core/Update.php index 328938fe1c..a52ef903b2 100644 --- a/src/Core/Update.php +++ b/src/Core/Update.php @@ -27,9 +27,6 @@ class Update return; } - // Check if the config files are set correctly - self::checkBaseSettings($_SERVER); - // Don't check the status if the last update was failed if (Config::get('system', 'update', Update::SUCCESS, true) == Update::FAILED) { return; @@ -225,11 +222,6 @@ class Update } } - public static function checkBaseSettings(array $server) - { - - } - /** * send the email and do what is needed to do on update fails * @@ -313,6 +305,7 @@ class Update 'uid' => $admin['uid'], 'type' => SYSTEM_EMAIL, 'to_email' => $admin['email'], + 'subject' => l10n::t('[Friendica Notify] Database update'), 'preamble' => $preamble, 'body' => $preamble, 'language' => $lang]