Cleanup & Refactoring

--HG--
branch : dev
This commit is contained in:
Suha Can
2010-12-07 17:11:55 -08:00
parent cc29bf9605
commit c15e4d5ee8
25 changed files with 40 additions and 49 deletions

View File

@@ -9,7 +9,7 @@ namespace Orchard.Core.Common {
public virtual Feature Feature { get; set; }
public IEnumerable<Permission> GetPermissions() {
return new Permission[] {
return new[] {
ChangeOwner,
};
}

View File

@@ -10,7 +10,7 @@ namespace Orchard.Core.Settings {
public virtual Feature Feature { get; set; }
public IEnumerable<Permission> GetPermissions() {
return new Permission[] {
return new[] {
ManageSettings,
ChangeSuperuser,
};