projects
/
WP-Plugins
/
glm-member-db.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f182309
)
Removing temporary code to reset capabilities
author
Chuck Scott
<cscott@gaslightmedia.com>
Wed, 20 May 2015 17:55:20 +0000
(13:55 -0400)
committer
Chuck Scott
<cscott@gaslightmedia.com>
Wed, 20 May 2015 17:55:20 +0000
(13:55 -0400)
activate.php
patch
|
blob
|
history
diff --git
a/activate.php
b/activate.php
index
59a9270
..
e02c6db
100644
(file)
--- 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