From: Chuck Scott Date: Tue, 9 Feb 2016 17:39:59 +0000 (-0500) Subject: Commenting out manageent settings for add-ons for now. X-Git-Tag: v0.0.3^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=6d8e2020afee847c6b03e4b412793e9e8152002b;p=WP-Plugins%2Fglm-member-db-sample.git Commenting out manageent settings for add-ons for now. --- 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']