]> git.mxchange.org Git - friendica.git/blobdiff - boot.php
tests ...
[friendica.git] / boot.php
index d54ee72a3d83c42336dc5a745fe4c4e24cf1314a..390a6ef9c2ba852b8f7d213af2e496272f64b977 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -234,15 +234,6 @@ if (!defined('CURLE_OPERATION_TIMEDOUT')) {
        define('CURLE_OPERATION_TIMEDOUT', CURLE_OPERATION_TIMEOUTED);
 }
 
-/**
- * @brief Used to end the current process, after saving session state.
- * @deprecated
- */
-function killme()
-{
-       exit();
-}
-
 /**
  * @brief Returns the user id of locally logged in user or false.
  *
@@ -455,17 +446,6 @@ function curPageURL()
        return $pageURL;
 }
 
-function get_server()
-{
-       $server = Config::get("system", "directory");
-
-       if ($server == "") {
-               $server = "https://dir.friendica.social";
-       }
-
-       return $server;
-}
-
 function get_temppath()
 {
        $temppath = Config::get("system", "temppath");
@@ -669,22 +649,3 @@ function validate_include(&$file)
        // Simply return flag
        return $valid;
 }
-
-/**
- * PHP 5 compatible dirname() with count parameter
- *
- * @see http://php.net/manual/en/function.dirname.php#113193
- *
- * @deprecated with PHP 7
- * @param string $path
- * @param int    $levels
- * @return string
- */
-function rdirname($path, $levels = 1)
-{
-       if ($levels > 1) {
-               return dirname(rdirname($path, --$levels));
-       } else {
-               return dirname($path);
-       }
-}