no message

This commit is contained in:
StudioTem committed 2023-02-24 17:27:02 +01:00
1 parent 97db8e29d7
commit 7defabe848
2 files changed
+9

No files matched your search

+6
View File
@@ -10,4 +10,10 @@ class MasterTaskObserver
{
$mastertask->color = MasterTask::generateMasterTaskColor();
}
public function updating(MasterTask $mastertask)
{
// to prevent updating created_by field. this field cannot be updated once created.
$mastertask->created_by = $mastertask->getOriginal('created_by');
}
}