Commenting out manageent settings for add-ons for now.
authorChuck Scott <cscott@gaslightmedia.com>
Tue, 9 Feb 2016 17:39:59 +0000 (12:39 -0500)
committerChuck Scott <cscott@gaslightmedia.com>
Tue, 9 Feb 2016 17:39:59 +0000 (12:39 -0500)
glm-member-db-sample.php

index 11aef75..035a30e 100644 (file)
@@ -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']