From: Chuck Scott Date: Thu, 5 Oct 2017 21:05:30 +0000 (-0400) Subject: Removing references to "addNotice" function in glmPluginSupport that were causing... X-Git-Tag: v2.0.0^2~4 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=e9432947cffb79c06391c701d6f94101597f7ab7;p=WP-Plugins%2Fglm-member-db-search.git Removing references to "addNotice" function in glmPluginSupport that were causing problems. --- diff --git a/activate.php b/activate.php index 7a90d11..aea0682 100644 --- a/activate.php +++ b/activate.php @@ -58,7 +58,6 @@ class glmMembersSearchPluginActivate // Make sure the current user has this capability if (! current_user_can('activate_plugins')) { - $this->addNotice("Interesting, you don't have permission to activate plugins."); die(); } diff --git a/models/admin/management/search.php b/models/admin/management/search.php index 9ca7953..bc00e1a 100644 --- a/models/admin/management/search.php +++ b/models/admin/management/search.php @@ -125,14 +125,6 @@ class GlmMembersAdmin_management_search extends GlmDataSearchManagement // Try to get the first (should be only) entry for general settings. $searchSettings = $this->editEntry(1); - if ($searchSettings === false) { - - if (GLM_MEMBERS_PLUGIN_ADMIN_DEBUG) { - glmMembersAdmin::addNotice("  /models/admin/management/search.php: Unable to load search management settings.", 'Alert'); - } - - } - break; }