equal
deleted
inserted
replaced
2839 return false; |
2839 return false; |
2840 else |
2840 else |
2841 { |
2841 { |
2842 if(!$desc) |
2842 if(!$desc) |
2843 { |
2843 { |
2844 $desc = capitalize_first_letter(str_replace('_', ' ', $acl_type)); |
2844 $desc = ucfirst(str_replace('_', ' ', $acl_type)); |
2845 } |
2845 } |
2846 $this->acl_types[$acl_type] = $default_perm; |
2846 $this->acl_types[$acl_type] = $default_perm; |
2847 $this->acl_descs[$acl_type] = $desc; |
2847 $this->acl_descs[$acl_type] = $desc; |
2848 $this->acl_deps[$acl_type] = $deps; |
2848 $this->acl_deps[$acl_type] = $deps; |
2849 $this->acl_scope[$acl_type] = explode('|', $scope); |
2849 $this->acl_scope[$acl_type] = explode('|', $scope); |