Skip to content

Commit

Permalink
User: performance improvement assessing enabled features
Browse files Browse the repository at this point in the history
  • Loading branch information
dasgarner committed Feb 7, 2025
1 parent 18a4800 commit 3cd7c84
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/Factory/UserGroupFactory.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/*
* Copyright (C) 2024 Xibo Signage Ltd
* Copyright (C) 2025 Xibo Signage Ltd
*
* Xibo - Digital Signage - https://xibosignage.com
*
Expand Down Expand Up @@ -447,8 +447,6 @@ public function getGroupFeaturesForUser($user, $includeIsUser = true)
foreach ($this->getStore()->select('
SELECT `group`.groupId, `group`.features
FROM `group`
INNER JOIN `lkusergroup`
ON `lkusergroup`.groupId = `group`.groupId
WHERE `group`.groupId = :groupId
OR `group`.groupId IN (SELECT groupId FROM lkusergroup WHERE userId = :userId)
', [
Expand Down

0 comments on commit 3cd7c84

Please sign in to comment.