New naming convention applied to many functions, see #118 for details
[mailer.git] / ref.php
diff --git a/ref.php b/ref.php
index 91274c2382b19c819afa410057adbb5fb15dd25b..4ec740b1c883d5c4c524f39f5775d8fb04f74d74 100644 (file)
--- a/ref.php
+++ b/ref.php
@@ -91,7 +91,7 @@ if (isInstalled()) {
                if (empty($ref)) $ref = 0;
 
                // Update session
-               set_session('refid', $ref);
+               setSession('refid', $ref);
 
                // We have an refid here. So we simply add it
                $URL .= bigintval($ref);
@@ -108,10 +108,10 @@ if (isInstalled()) {
        }
 
        // Load the URL
-       LOAD_URL($URL);
+       redirectToUrl($URL);
 } else {
        // You have to install first!
-       LOAD_URL('install.php');
+       redirectToUrl('install.php');
 }
 
 // Really all done here... ;-)