diff options
Diffstat (limited to 'lib/private/group/group.php')
-rw-r--r-- | lib/private/group/group.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/group/group.php b/lib/private/group/group.php index 9965d938ebb..a2b8a0dcbea 100644 --- a/lib/private/group/group.php +++ b/lib/private/group/group.php @@ -195,7 +195,7 @@ class Group { public function count($search) { $users = false; foreach ($this->backends as $backend) { - if(method_exists($backend, 'countUsersInGroup')) { + if($backend->implementsActions(OC_GROUP_BACKEND_COUNT_USERS)) { if($users === false) { //we could directly add to a bool variable, but this would //be ugly |