]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Update.php
Merge pull request #7250 from MrPetovan/bug/6410-normalize-message-button
[friendica.git] / src / Core / Update.php
index 328938fe1c6b35b17a84ad4a8f4ba77307e80203..a52ef903b2da8867854fc1660317d57817e51cec 100644 (file)
@@ -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]