Skip to content

Commit

Permalink
Merge pull request Z-Hub#86 from matidau/kopano-drafts-remove-filtert…
Browse files Browse the repository at this point in the history
…ype-disable

Kopano Drafts - remove filtertype disable
  • Loading branch information
matidau authored Jul 13, 2024
2 parents b0d881b + 2165274 commit 59fefa3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/backend/kopano/exporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,6 @@ public function Config($state, $flags = 0) {
public function ConfigContentParameters($contentparameters){
$filtertype = $contentparameters->GetFilterType();

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

switch($contentparameters->GetContentClass()) {
case "Email":
$this->restriction = ($filtertype || !Utils::CheckMapiExtVersion('7')) ? MAPIUtils::GetEmailRestriction(Utils::GetCutOffDate($filtertype)) : false;
Expand Down

0 comments on commit 59fefa3

Please sign in to comment.