summaryrefslogtreecommitdiff
path: root/includes/common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/common.inc')
-rw-r--r--includes/common.inc23
1 files changed, 0 insertions, 23 deletions
diff --git a/includes/common.inc b/includes/common.inc
index a0aa2d13a..9df7cc320 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -504,29 +504,6 @@ function drupal_goto($url) {
exit();
}
-/*
-** Stores the referer in a persistent variable:
-*/
-
-function referer_save() {
- if (!strstr(referer_uri(), request_uri())) {
- $_SESSION["referer"] = referer_uri();
- }
-}
-
-/*
-** Restores the referer from a persistent variable:
-*/
-
-function referer_load() {
- if (isset($_SESSION["referer"])) {
- return $_SESSION["referer"];
- }
- else {
- return 0;
- }
-}
-
function valid_input_data($data) {
if (is_array($data) || is_object($data)) {