summaryrefslogtreecommitdiffstats
path: root/lib/private/CapabilitiesManager.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/CapabilitiesManager.php')
-rw-r--r--lib/private/CapabilitiesManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/CapabilitiesManager.php b/lib/private/CapabilitiesManager.php
index 173760fe20f..baab63c213d 100644
--- a/lib/private/CapabilitiesManager.php
+++ b/lib/private/CapabilitiesManager.php
@@ -57,7 +57,7 @@ class CapabilitiesManager {
}
if ($c instanceof ICapability) {
- if(!$public || ($public && $c instanceof IPublicCapability)) {
+ if(!$public || $c instanceof IPublicCapability) {
$capabilities = array_replace_recursive($capabilities, $c->getCapabilities());
}
} else {