projects
/
WP-Plugins
/
glm-member-db-rest-api.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4b6e40
)
Remove test line for events summary retrieval
author
Laury GvR
<laury@gaslightmedia.com>
Fri, 12 Jul 2019 17:53:20 +0000
(13:53 -0400)
committer
Laury GvR
<laury@gaslightmedia.com>
Fri, 12 Jul 2019 17:53:20 +0000
(13:53 -0400)
setup/routes/dashboard.php
patch
|
blob
|
history
diff --git
a/setup/routes/dashboard.php
b/setup/routes/dashboard.php
index
a520e6e
..
dd36638
100644
(file)
--- a/
setup/routes/dashboard.php
+++ b/
setup/routes/dashboard.php
@@
-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") ) {