diff --git a/boot.php b/boot.php index fa26028113..d9a64e570a 100644 --- a/boot.php +++ b/boot.php @@ -563,16 +563,6 @@ function x($s, $k = null) } } -/** - * @brief Called from db initialisation if db is dead. - */ -function system_unavailable() -{ - include 'system_unavailable.php'; - system_down(); - killme(); -} - /** * @brief Returns the baseurl. * diff --git a/include/dba.php b/include/dba.php index fe191a9e21..e08880c605 100644 --- a/include/dba.php +++ b/include/dba.php @@ -97,7 +97,7 @@ class dba { if (!self::$connected) { self::$db = null; if (!$install) { - system_unavailable(); + System::unavailable(); } } $a->save_timestamp($stamp1, "network"); diff --git a/include/system_unavailable.php b/include/system_unavailable.php deleted file mode 100644 index bd7196cdfd..0000000000 --- a/include/system_unavailable.php +++ /dev/null @@ -1,12 +0,0 @@ - -