From: Chuck Scott Date: Wed, 20 May 2015 17:55:20 +0000 (-0400) Subject: Removing temporary code to reset capabilities X-Git-Tag: v1.0.0~15 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=d31e71d9e085717734d85e36d4f5468794320cc8;p=WP-Plugins%2Fglm-member-db.git Removing temporary code to reset capabilities --- diff --git a/activate.php b/activate.php index 59a9270a..e02c6dbb 100644 --- a/activate.php +++ b/activate.php @@ -338,9 +338,11 @@ class glmMembersPluginActivate extends glmPluginSupport foreach ($roleObjects as $key => $role) { // Uncomment to reset capabilities + /* if ( isset($role->capabilities[$capability])) { $role->remove_cap($capability); } + */ // Check if the role exists in list of editable roles and // the capability does not exist