@@ -17,7 +17,6 @@ |
||
17 | 17 | |
18 | 18 | use Fisharebest\Webtrees\Controller\DescendancyController; |
19 | 19 | use Fisharebest\Webtrees\Functions\FunctionsEdit; |
20 | -use Fisharebest\Webtrees\Functions\FunctionsPrint; |
|
21 | 20 | use Fisharebest\Webtrees\Functions\FunctionsPrintLists; |
22 | 21 | |
23 | 22 | /** @global Tree $WT_TREE */ |
@@ -120,10 +120,4 @@ |
||
120 | 120 | $transport->setEncryption(Site::getPreference('SMTP_SSL')); |
121 | 121 | } |
122 | 122 | |
123 | - return $transport; |
|
124 | - default: |
|
125 | - // For testing |
|
126 | - return Swift_NullTransport::newInstance(); |
|
127 | - } |
|
128 | - } |
|
129 | -} |
|
123 | + return $transport |
|
130 | 124 | \ No newline at end of file |