Replaced static database name with correct defined parameter in checkDatabase() function.
authorChuck Scott <cscott@gaslightmedia.com>
Tue, 1 Dec 2015 13:42:29 +0000 (08:42 -0500)
committerChuck Scott <cscott@gaslightmedia.com>
Tue, 1 Dec 2015 13:42:29 +0000 (08:42 -0500)
classes/glmPluginSupport.php
glm-member-db.php

index 8d6ca55..f1efbfd 100644 (file)
@@ -211,7 +211,7 @@ class GlmPluginSupport
             $existingTables = $this->wpdb->get_var("
                 SELECT COUNT(*)
                   FROM information_schema.tables
-                 WHERE  table_schema = 'explorewesternup'
+                 WHERE  table_schema = '".DB_NAME."'
                    AND table_name like '".GLM_MEMBERS_PLUGIN_DB_PREFIX."%';
             ");
 
index 17a6b6f..eace6ca 100644 (file)
@@ -3,7 +3,7 @@
  * Plugin Name: GLM Members Database
  * Plugin URI: http://www.gaslightmedia.com/
  * Description: Gaslight Media Members Database.
- * Version: 1.0.43
+ * Version: 1.0.44
  * Author: Chuck Scott
  * Author URI: http://www.gaslightmedia.com/
  * License: GPL2
@@ -19,7 +19,7 @@
  * @package glmMembersDatabase
  * @author Chuck Scott <cscott@gaslightmedia.com>
  * @license http://www.gaslightmedia.com Gaslightmedia
- * @version 1.0.43
+ * @version 1.0.44
  */
 
 /*
  *  Updates to checkDatabase() in glmPluginSupport.php must be
  *  made together with the DB_VERSION below. ONLY bump the DB
  *  version when there's a change in the database!! Use the
- *  version nunmber of that release for the DB version.
+ *  version number of that release for the DB version.
  */
 
-define('GLM_MEMBERS_PLUGIN_VERSION', '1.0.43');
+define('GLM_MEMBERS_PLUGIN_VERSION', '1.0.44');
 define('GLM_MEMBERS_PLUGIN_DB_VERSION', '1.0.43');
 
 /**