code-cleanup: removed unused classes, added role constants, phpcs fixes (#96)
This commit is contained in:
@@ -34,7 +34,7 @@ class ActivityVoter extends AbstractVoter
|
||||
*/
|
||||
protected function supports($attribute, $subject)
|
||||
{
|
||||
if (!in_array($attribute, array(self::VIEW, self::EDIT, self::DELETE))) {
|
||||
if (!in_array($attribute, array(self::VIEW, self::EDIT, self::DELETE))) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user