aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions.inc.php')
-rw-r--r--include/functions.inc.php37
1 files changed, 0 insertions, 37 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php
index 03c9e2873..b0c011453 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -832,43 +832,6 @@ function redirect( $url , $msg = '', $refresh_time = 0)
}
/**
- * returns $_SERVER['QUERY_STRING'] whithout keys given in parameters
- *
- * @param string[] $rejects
- * @param boolean $escape escape *&* to *&*
- * @returns string
- */
-function get_query_string_diff($rejects=array(), $escape=true)
-{
- if (empty($_SERVER['QUERY_STRING']))
- {
- return '';
- }
-
- parse_str($_SERVER['QUERY_STRING'], $vars);
-
- $vars = array_diff_key($vars, array_flip($rejects));
-
- return '?' . http_build_query($vars, '', $escape ? '&' : '&');
-}
-
-/**
- * returns true if the url is absolute (begins with http)
- *
- * @param string $url
- * @returns boolean
- */
-function url_is_remote($url)
-{
- if ( strncmp($url, 'http://', 7)==0
- or strncmp($url, 'https://', 8)==0 )
- {
- return true;
- }
- return false;
-}
-
-/**
* returns available themes
*
* @param bool $show_mobile