diff options
Diffstat (limited to 'lib/private/Group')
-rw-r--r-- | lib/private/Group/Backend.php | 2 | ||||
-rw-r--r-- | lib/private/Group/MetaData.php | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/Group/Backend.php b/lib/private/Group/Backend.php index 0f0e2c743e8..ebd8d3620d4 100644 --- a/lib/private/Group/Backend.php +++ b/lib/private/Group/Backend.php @@ -32,7 +32,7 @@ abstract class Backend implements \OCP\GroupInterface { /** * error code for functions not provided by the group backend */ - const NOT_IMPLEMENTED = -501; + public const NOT_IMPLEMENTED = -501; protected $possibleActions = [ self::CREATE_GROUP => 'createGroup', diff --git a/lib/private/Group/MetaData.php b/lib/private/Group/MetaData.php index 880dbf6437c..6950a239678 100644 --- a/lib/private/Group/MetaData.php +++ b/lib/private/Group/MetaData.php @@ -35,9 +35,9 @@ use OCP\IGroupManager; use OCP\IUserSession; class MetaData { - const SORT_NONE = 0; - const SORT_USERCOUNT = 1; // May have performance issues on LDAP backends - const SORT_GROUPNAME = 2; + public const SORT_NONE = 0; + public const SORT_USERCOUNT = 1; // May have performance issues on LDAP backends + public const SORT_GROUPNAME = 2; /** @var string */ protected $user; |