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

index 9d023fc..4e82b9f 100644 (file)
@@ -992,15 +992,6 @@ class glmMembersAdmin extends GlmPluginSupport
             $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>
-            ";
-        }
-
         // Restore timezone that was set before our code was called
         date_default_timezone_set($defaultTimeZone);