Fix widget dashboard showing list. Remove action echoing
authorLaury GvR <laury@gaslightmedia.com>
Tue, 13 Nov 2018 22:00:11 +0000 (17:00 -0500)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 13 Nov 2018 22:00:11 +0000 (17:00 -0500)
controllers/admin.php
models/admin/newDashboard/index.php

index 87141fe..b241ee0 100755 (executable)
@@ -861,9 +861,6 @@ class glmMembersAdmin extends GlmPluginSupport
             $plugIn = $this->config['validActions']['adminActions'][$menuItem][$action];
 
             // Build model and path and class names
-            echo "menuItem: " . $menuitem . "<br>";
-            echo "plugin: " . var_dump($plugIn) . "<br>";
-            echo "action: " . $action . "<br><br>";
             $modelName = GLM_MEMBERS_WORDPRESS_PLUGIN_PATH . "$plugIn/models/admin/$menuItem/$action.php";
             $className = 'GlmMembersAdmin_' . $menuItem . '_' . $action;
             $loopTracking .= "<p>Loop: $loopCheck<br>Model: $modelName<br>Class: $className</p>";
index 4036a5e..978be2b 100644 (file)
@@ -148,7 +148,7 @@ class GlmMembersAdmin_newDashboard_index extends GlmDataMembers
                 //  echo "<br>" . $a['slug'] .  " has no filter called " . $a['slug'] . "-dashboard-widget";
             }
         }
-        echo apply_filters('glm-member-db-admin-search', array('glm_action'=>'list'));
+        
         // Compile template data.
         $templateData = array(
             'lockedToMember'        => $lockedToMember,