Skip to content

Commit 86ae379

Browse files
committed
Remove useless guard.
1 parent 8ada4e7 commit 86ae379

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Linker.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,7 @@ public function __construct(\phpMussel\Core\Loader &$Loader)
8585
$Handle = fopen($EventLog, $WriteMode);
8686
fwrite($Handle, $Data);
8787
fclose($Handle);
88-
if ($WriteMode === 'wb') {
89-
$this->Loader->logRotation($this->Loader->Configuration['phpmailer']['event_log']);
90-
}
88+
$this->Loader->logRotation($this->Loader->Configuration['phpmailer']['event_log']);
9189
return true;
9290
});
9391
}

0 commit comments

Comments
 (0)