From 6d8e2020afee847c6b03e4b412793e9e8152002b Mon Sep 17 00:00:00 2001 From: Chuck Scott Date: Tue, 9 Feb 2016 12:39:59 -0500 Subject: [PATCH] Commenting out manageent settings for add-ons for now. --- glm-member-db-sample.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/glm-member-db-sample.php b/glm-member-db-sample.php index 11aef75..035a30e 100644 --- a/glm-member-db-sample.php +++ b/glm-member-db-sample.php @@ -160,8 +160,10 @@ if (is_file(GLM_MEMBERS_SAMPLE_PLUGIN_DB_SCRIPTS.'/dbVersions.php')) { } // Load Sample Management Settings data +/* None - Need to figure out a smooth way to do this. $sampleManagementSettings = $wpdb->get_row( "SELECT * FROM ".GLM_MEMBERS_SAMPLE_PLUGIN_DB_PREFIX."management WHERE id = 1", ARRAY_A ); unset($sampleManagementSettings['id']); +*/ function glmMembersRegisterSample($addOns) { @@ -173,7 +175,6 @@ function glmMembersRegisterSample($addOns) { 'slug' => GLM_MEMBERS_SAMPLE_PLUGIN_SLUG, 'actions' => $GLOBALS['glmMembersSampleAddOnValidActions'], 'config' => array( - 'settings' => $GLOBALS['sampleManagementSettings'] ), 'shortcodes' => $GLOBALS['glmMembersSampleShortcodes'], 'shortcodesDescription' => $GLOBALS['glmMembersSampleShortcodesDescription'] -- 2.17.1