New naming convention applied to many functions, see #118 for details
[mailer.git] / admin.php
index d8c4f7cec6633a3aec73d533678b9e126cdb7ec7..61891e3b8a32a1e8cee0b1477ca4dec4f6cad1d6 100644 (file)
--- a/admin.php
+++ b/admin.php
@@ -55,14 +55,14 @@ if (isInstalled()) {
        // Is the admin logged-in and no sql_patches installed?
        if ((IS_ADMIN()) && (!EXT_IS_ACTIVE('sql_patches'))) {
                // Extension 'sql_patches' is missing!
-               LOAD_URL('modules.php?module=admin&sql_patches=1');
+               redirectToUrl('modules.php?module=admin&sql_patches=1');
        } else {
                // Default redirect
-               LOAD_URL('modules.php?module=admin');
+               redirectToUrl('modules.php?module=admin');
        }
 } else {
        // You have to install first!
-       LOAD_URL('install.php');
+       redirectToUrl('install.php');
 }
 
 // Really all done here... ;-)