Author: sevein
Date: Sat Oct 30 09:54:06 2010
New Revision: 8716
Log:
Cosmetic changes.
Modified:
trunk/plugins/qbAclPlugin/lib/model/QubitAclGroup.php
Modified: trunk/plugins/qbAclPlugin/lib/model/QubitAclGroup.php
==============================================================================
--- trunk/plugins/qbAclPlugin/lib/model/QubitAclGroup.php Sat Oct 30
07:06:57 2010 (r8715)
+++ trunk/plugins/qbAclPlugin/lib/model/QubitAclGroup.php Sat Oct 30
09:54:06 2010 (r8716)
@@ -71,11 +71,10 @@
public function isProtected()
{
- return (
- $this->id == self::ROOT_ID ||
- $this->id == self::ANONYMOUS_ID ||
- $this->id == self::AUTHENTICATED_ID ||
- $this->id == self::ADMINISTRATOR_ID
- );
+ return in_array($this->id, array(
+ self::ROOT_ID,
+ self::ANONYMOUS_ID,
+ self::AUTHENTICATED_ID,
+ self::ADMINISTRATOR_ID));
}
}
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.