Skip to content

Commit

Permalink
Remove abstract classes. One never should allow/deny permissions in a…
Browse files Browse the repository at this point in the history
…bstract classes.
  • Loading branch information
mromagnoli authored and Marce Romagnoli committed Sep 25, 2013
1 parent f9a7553 commit cb46897
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Lib/AclExtras.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,9 @@ protected function _checkNode($path, $alias, $parentId = null) {
protected function _getCallbacks($className) {
$callbacks = array();
$reflection = new ReflectionClass($className);
if ($reflection->isAbstract()) {
return $callbacks;
}
try {
$method = $reflection->getMethod('implementedEvents');
} catch (ReflectionException $e) {
Expand Down

0 comments on commit cb46897

Please sign in to comment.