|
@@ -192,22 +192,22 @@ namespace Comal.Stores
|
|
|
CheckNotifications(entity);
|
|
|
CheckNotificationRequired(entity);
|
|
|
CheckKanbanTypeForms(entity);
|
|
|
- CheckSubscribers(entity);
|
|
|
+ //CheckSubscribers(entity);
|
|
|
}
|
|
|
|
|
|
- private void CheckSubscribers(Kanban entity)
|
|
|
- {
|
|
|
- if (entity.EmployeeLink.HasOriginalValue(x => x.ID) || (entity.ManagerLink.HasOriginalValue(x => x.ID)))
|
|
|
- {
|
|
|
- var set = new ServerKanbanSubscriberSet(new Guid[] { entity.ID });
|
|
|
- if (entity.EmployeeLink.HasOriginalValue(x => x.ID))
|
|
|
- set.EnsureAssignee(entity.ID,entity.EmployeeLink.ID);
|
|
|
- if (entity.ManagerLink.HasOriginalValue(x => x.ID))
|
|
|
- set.EnsureManager(entity.ID,entity.ManagerLink.ID);
|
|
|
- set.Save();
|
|
|
-
|
|
|
- }
|
|
|
- }
|
|
|
+ // private void CheckSubscribers(Kanban entity)
|
|
|
+ // {
|
|
|
+ // if (entity.EmployeeLink.HasOriginalValue(x => x.ID) || (entity.ManagerLink.HasOriginalValue(x => x.ID)))
|
|
|
+ // {
|
|
|
+ // var set = new ServerKanbanSubscriberSet(new Guid[] { entity.ID });
|
|
|
+ // if (entity.EmployeeLink.HasOriginalValue(x => x.ID))
|
|
|
+ // set.EnsureAssignee(entity.ID,entity.EmployeeLink.ID);
|
|
|
+ // if (entity.ManagerLink.HasOriginalValue(x => x.ID))
|
|
|
+ // set.EnsureManager(entity.ID,entity.ManagerLink.ID);
|
|
|
+ // set.Save();
|
|
|
+ //
|
|
|
+ // }
|
|
|
+ // }
|
|
|
|
|
|
}
|
|
|
}
|