* Plugin Name: GLM Members Database Relay
* Plugin URI: http://www.gaslightmedia.com/
* Description: Relay Add On
- * Version: 1.0.1
+ * Version: 1.0.2
* Author: Gaslight Media
* Author URI: http://www.gaslightmedia.com/
* License: GPL2
* @package glmMembersRelayAddOn
* @author Chuck Scott <cscott@gaslightmedia.com>
* @license http://www.gaslightmedia.com Gaslightmedia
- * @version 1.0.1
+ * @version 1.0.2
*/
// Check that we're being called by WordPress.
* so that we're sure the other add-ons see an up to date
* version from this plugin.
*/
-define('GLM_MEMBERS_RELAY_PLUGIN_VERSION', '1.0.1');
+define('GLM_MEMBERS_RELAY_PLUGIN_VERSION', '1.0.2');
/**
* Database Version
$messages = $this->getList( 'T.status = 10', 'T.updated DESC' );
break;
+ case 'active':
+ $messages = $this->wpdb->get_results(
+ "SELECT id
+ FROM " . $this->table,
+ ARRAY_A
+ );
+ break;
+
case 'since':
if ( isset( $_REQUEST['timestamp'] ) ) {
$timestamp = filter_var( $_REQUEST['timestamp'], FILTER_VALIDATE_INT );