Redirects fixed
[mailer.git] / inc / mysql-manager.php
index 519d73c98abfb0717385ca8bd684ac55cefe06ff..958e54ac6bd4c43ff6cceb9538cbdf857a92bf31 100644 (file)
@@ -995,9 +995,8 @@ function getModeAction ($mode, $what) {
        } elseif ((!isExtensionInstalled('sql_patches')) && ($mode != 'admin')) {
                // No sql_patches installed, but maybe we need to register an admin?
                if (isAdminRegistered()) {
-                       // Redirect
-                       // @TODO Why does this lead into an endless loop but we still need it???
-                       // @TODO Commented out redirectToUrl('admin.php');
+                       // Redirect to admin area
+                       redirectToUrl('admin.php');
                } // END - if
        }