From 628f24d3d39cf265b3dfe970f600bb4e2164e788 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Tue, 7 Mar 2023 11:49:13 +0100 Subject: [PATCH] SyncRule: alternative setter for properties --- library/Director/Objects/SyncRule.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/library/Director/Objects/SyncRule.php b/library/Director/Objects/SyncRule.php index 9486a88e..8782fa23 100644 --- a/library/Director/Objects/SyncRule.php +++ b/library/Director/Objects/SyncRule.php @@ -316,6 +316,16 @@ class SyncRule extends DbObject implements ExportInterface return $object; } + /** + * Flat object has 'properties', but setProperties() is not available in DbObject + * + * @return void + */ + public function setSyncProperties(?array $value) + { + $this->newSyncProperties = $value; + } + public function getUniqueIdentifier() { return $this->get('rule_name');