Removing references to "addNotice" function in glmPluginSupport that were causing...
authorChuck Scott <cscott@gaslightmedia.com>
Thu, 5 Oct 2017 20:02:26 +0000 (16:02 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Thu, 5 Oct 2017 20:02:26 +0000 (16:02 -0400)
activate.php
models/admin/contacts/list.php

index 1d441e9..b807e9c 100644 (file)
@@ -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();
         }
 
index 382d1a1..695cc28 100644 (file)
@@ -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);