Do all time.ly events
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 29 Jul 2016 12:15:11 +0000 (08:15 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 29 Jul 2016 12:15:11 +0000 (08:15 -0400)
Forgot to remove part where it was only getting one event.

index.php
models/admin/management/events.php

index 8b715dd..44ea55e 100644 (file)
--- a/index.php
+++ b/index.php
@@ -3,7 +3,7 @@
  * Plugin Name: GLM Members Database Events
  * Plugin URI: http://www.gaslightmedia.com/
  * Description: Gaslight Media Members Database.
- * Version: 1.2.24
+ * Version: 1.2.25
  * Author: Chuck Scott
  * Author URI: http://www.gaslightmedia.com/
  * License: GPL2
@@ -20,7 +20,7 @@
  * @package glmMembersDatabaseEventsAddOn
  * @author Chuck Scott <cscott@gaslightmedia.com>
  * @license http://www.gaslightmedia.com Gaslightmedia
- * @version 1.2.24
+ * @version 1.2.25
  */
 
 /*
@@ -38,7 +38,7 @@
  *  so that we're sure the other add-ons see an up to date
  *  version from this plugin.
  */
-define('GLM_MEMBERS_EVENTS_PLUGIN_VERSION', '1.2.24');
+define('GLM_MEMBERS_EVENTS_PLUGIN_VERSION', '1.2.25');
 define('GLM_MEMBERS_EVENTS_PLUGIN_DB_VERSION', '0.0.18');
 
 // This is the minimum version of the GLM Members DB plugin require for this plugin.
index fb05f70..c8e8cdb 100644 (file)
@@ -1166,7 +1166,7 @@ class GlmMembersAdmin_management_events extends GlmDataEventsManagement
            AND post_status = 'publish'";
         //$sql .= " AND ID IN ( SELECT post_id FROM " . $this->wpdb->prefix . "ai1ec_events
         //WHERE end >= " . time() . " )";
-        $sql .= " AND ID IN ( 3785 )";
+        //$sql .= " AND ID IN ( 3785 )";
         $sql .= " LIMIT $limit OFFSET $start";
         $results = $this->wpdb->get_results( $sql, ARRAY_A );