Remove test line for events summary retrieval
authorLaury GvR <laury@gaslightmedia.com>
Fri, 12 Jul 2019 17:53:20 +0000 (13:53 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Fri, 12 Jul 2019 17:53:20 +0000 (13:53 -0400)
setup/routes/dashboard.php

index a520e6e..dd36638 100644 (file)
@@ -96,13 +96,6 @@ class GLMA_Dashboard_Rest_Controller
                         }
                         if ( defined("GLM_MEMBERS_EVENTS_PLUGIN_PATH") ) {
                             $events = $this->get_events_summary();
-
-                            $sql = 
-                            "SELECT *
-                            FROM ".GLM_MEMBERS_EVENTS_PLUGIN_DB_PREFIX."events";
-                
-                            $events = $this->wpdb->get_results( $sql );
-
                             $summary[] = $events;
                         }
                         if ( defined("GLM_MEMBERS_COUPONS_PLUGIN_PATH") ) {