summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-03-04 07:02:58 +0300
committerAndrew Dolgov <[email protected]>2019-03-04 07:02:58 +0300
commit925065b1fed03710cef9018c2078b95b0fa425ad (patch)
treeabab2e20c45f10198d8ff8a483332acccd1d1c68 /include
parent6ec602e1a41ed3cccb0faf86468f52b5919128b6 (diff)
Revert "login: only allow relative URLs in return="
This reverts commit c68ac04020d85a296c784de18f8def3f365f9f6a.
Diffstat (limited to 'include')
-rwxr-xr-xinclude/functions.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/functions.php b/include/functions.php
index 7f00f2f04..8c0654f3c 100755
--- a/include/functions.php
+++ b/include/functions.php
@@ -2562,9 +2562,3 @@
return $ts;
}
-
- function is_absolute_url($url) {
- $parts = parse_url($url);
-
- return $parts['host'] != '';
- }