Code Duplication    Length = 3-3 lines in 2 locations

lib/account.php 2 locations

@@ 144-146 (lines=3) @@
141
				'secure' => $ssl_mode,
142
				'timeout' => 20,
143
			];
144
			if ($this->config->getSystemValue('app.mail.imaplog.enabled', false)) {
145
				$params['debug'] = $this->config->getSystemValue('datadirectory') . '/horde_imap.log';
146
			}
147
			if ($this->config->getSystemValue('app.mail.server-side-cache.enabled', false)) {
148
				if ($this->memcacheFactory->isAvailable()) {
149
					$params['cache'] = [
@@ 393-395 (lines=3) @@
390
			'secure' => $this->convertSslMode($this->account->getOutboundSslMode()),
391
			'timeout' => 2
392
		];
393
		if ($this->config->getSystemValue('app.mail.smtplog.enabled', false)) {
394
			$params['debug'] = $this->config->getSystemValue('datadirectory') . '/horde_smtp.log';
395
		}
396
		return new Horde_Mail_Transport_Smtphorde($params);
397
	}
398