equal
deleted
inserted
replaced
4621 { |
4621 { |
4622 $b = $deps; |
4622 $b = $deps; |
4623 if ( !isset($this->acl_deps[$deps[$i]]) ) |
4623 if ( !isset($this->acl_deps[$deps[$i]]) ) |
4624 { |
4624 { |
4625 // Action $type depends on action $deps[$i] which cannot be satisfied because $deps[$i] is out of scope. |
4625 // Action $type depends on action $deps[$i] which cannot be satisfied because $deps[$i] is out of scope. |
4626 trigger_error("acl_check_deps: $type depends on {$deps[$i]} which is not within scope of $this->namespace; this indicats a bug in ACL rule specification", E_USER_WARNING); |
4626 trigger_error("acl_check_deps: $type depends on {$deps[$i]} which is not within scope of $this->namespace; this indicates a bug in ACL rule specification", E_USER_WARNING); |
4627 return false; |
4627 return false; |
4628 } |
4628 } |
4629 $deps = array_merge($deps, $this->acl_deps[$deps[$i]]); |
4629 $deps = array_merge($deps, $this->acl_deps[$deps[$i]]); |
4630 if( $b == $deps ) |
4630 if( $b == $deps ) |
4631 { |
4631 { |