Removed more legacy debug window code.
authorChuck Scott <cscott@gaslightmedia.com>
Tue, 17 Oct 2017 17:27:18 +0000 (13:27 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Tue, 17 Oct 2017 17:27:18 +0000 (13:27 -0400)
controllers/admin.php

index 7c34740..9d023fc 100644 (file)
@@ -368,15 +368,6 @@ class glmMembersAdmin extends GlmPluginSupport
         // Generate output from model data and view
         $smarty->template->display($viewFile);
 
-        // If debug is requested, create debug window
-        if (GLM_MEMBERS_PLUGIN_ADMIN_DEBUG) {
-            echo "
-                <script>
-                    window.open('".admin_url()."admin.php?page=glm-members-admin-menu-members&glmDebugWindow=true','GLM_Plugin_Debug','width=800,height=800,left=50,top=50,resizable=yes,scrollbars=yes');
-                </script>
-            ";
-        }
-
         exit;   // Need to test if this is here for a reason!
         wp_die();