From e9432947cffb79c06391c701d6f94101597f7ab7 Mon Sep 17 00:00:00 2001 From: Chuck Scott Date: Thu, 5 Oct 2017 17:05:30 -0400 Subject: [PATCH] Removing references to "addNotice" function in glmPluginSupport that were causing problems. --- activate.php | 1 - models/admin/management/search.php | 8 -------- 2 files changed, 9 deletions(-) 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; } -- 2.17.1