Reordering in Document class
This commit is contained in:
@@ -967,6 +967,7 @@ namespace umbraco.cms.businesslogic.web
|
||||
public bool SaveAndPublish(User u)
|
||||
{
|
||||
var e = new SaveEventArgs();
|
||||
FireBeforeSave(e);
|
||||
|
||||
foreach (var property in GenericProperties)
|
||||
{
|
||||
@@ -976,8 +977,6 @@ namespace umbraco.cms.businesslogic.web
|
||||
Content.SetValue(property.PropertyType.Alias, property.Value);
|
||||
}
|
||||
|
||||
FireBeforeSave(e);
|
||||
|
||||
if (!e.Cancel)
|
||||
{
|
||||
var result = ApplicationContext.Current.Services.ContentService.SaveAndPublish(Content, u.Id, true);
|
||||
|
||||
Reference in New Issue
Block a user