Stop calling driver on update if group is not the same

This commit is contained in:
Nicholas Mayne
2014-07-15 19:22:05 +01:00
parent eb38abcc31
commit 0b7ce57bf7

View File

@@ -75,6 +75,10 @@ namespace Orchard.ContentManagement.Drivers {
if(String.IsNullOrEmpty(location) || location == "-") {
return editor;
}
if (editor.GetGroup() != context.GroupId) {
return editor;
}
}
}