From: Chuck Scott Date: Tue, 1 Dec 2015 13:42:29 +0000 (-0500) Subject: Replaced static database name with correct defined parameter in checkDatabase() function. X-Git-Tag: v1.0.44^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=7cfff668bbac74b318b75fe8001beac5e2ad85af;p=WP-Plugins%2Fglm-member-db.git Replaced static database name with correct defined parameter in checkDatabase() function. --- diff --git a/classes/glmPluginSupport.php b/classes/glmPluginSupport.php index 8d6ca556..f1efbfd7 100644 --- a/classes/glmPluginSupport.php +++ b/classes/glmPluginSupport.php @@ -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."%'; "); diff --git a/glm-member-db.php b/glm-member-db.php index 17a6b6f1..eace6ca5 100644 --- a/glm-member-db.php +++ b/glm-member-db.php @@ -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 * @license http://www.gaslightmedia.com Gaslightmedia - * @version 1.0.43 + * @version 1.0.44 */ /* @@ -31,10 +31,10 @@ * 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'); /**