Skip to content

Commit

Permalink
diffbackend AS16.1 - Disable sync filter if filter type is SYNC_FILTE…
Browse files Browse the repository at this point in the history
…RTYPE_DISABLE
  • Loading branch information
matidau committed May 18, 2024
1 parent db9eb4e commit 514c4a5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lib/default/diffbackend/diffstate.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ public function ConfigContentParameters($contentparameters) {
$this->contentparameters = $contentparameters;

$filtertype = $contentparameters->GetFilterType();

if ($filtertype == SYNC_FILTERTYPE_DISABLE) {
$filtertype = false;
}

switch($contentparameters->GetContentClass()) {
case "Email":
case "Calendar":
Expand Down

0 comments on commit 514c4a5

Please sign in to comment.