Removing temporary code to reset capabilities
authorChuck Scott <cscott@gaslightmedia.com>
Wed, 20 May 2015 17:55:20 +0000 (13:55 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Wed, 20 May 2015 17:55:20 +0000 (13:55 -0400)
activate.php

index 59a9270..e02c6db 100644 (file)
@@ -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