From ed4890c835b666a2911990746e5c9e720e486288 Mon Sep 17 00:00:00 2001 From: Chuck Scott Date: Thu, 5 Oct 2017 16:02:26 -0400 Subject: [PATCH] Removing references to "addNotice" function in glmPluginSupport that were causing problems. --- activate.php | 1 - models/admin/contacts/list.php | 4 ---- 2 files changed, 5 deletions(-) diff --git a/activate.php b/activate.php index 1d441e9..b807e9c 100644 --- a/activate.php +++ b/activate.php @@ -58,7 +58,6 @@ class glmMembersContactsPluginActivate // 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/contacts/list.php b/models/admin/contacts/list.php index 382d1a1..695cc28 100644 --- a/models/admin/contacts/list.php +++ b/models/admin/contacts/list.php @@ -188,10 +188,6 @@ class GlmContactsAdmin_contacts_list extends GlmDataContacts $nextStart = $start + $limit; } - if (GLM_MEMBERS_CONTACTS_PLUGIN_ADMIN_DEBUG_VERBOSE) { - glmContactsAdmin::addNotice($list, 'DataBlock', 'Contact Data'); - } - // since we're doing paging, we have to break out just the contact data $list = $listResult['list']; unset($listResult); -- 2.17.1