@@ -64,7 +64,7 @@ |
||
64 | 64 | |
65 | 65 | return [ |
66 | 66 | 'data-language' => json_encode($language), |
67 | - 'data-length-menu' => json_encode([array_keys($length_menu), array_values($length_menu)]) |
|
67 | + 'data-length-menu' => json_encode([array_keys($length_menu), array_values($length_menu)]) |
|
68 | 68 | ]; |
69 | 69 | } |
70 | 70 |
@@ -90,9 +90,9 @@ |
||
90 | 90 | 'info' => 'fa fa-info-circle', |
91 | 91 | 'warning' => 'fa fa-exclamation-circle', |
92 | 92 | |
93 | - // Icons for file types |
|
94 | - 'mime-application-pdf' => '', |
|
95 | - 'mime-text-html' => '', |
|
93 | + // Icons for file types |
|
94 | + 'mime-application-pdf' => '', |
|
95 | + 'mime-text-html' => '', |
|
96 | 96 | |
97 | 97 | // Other icons |
98 | 98 | 'mail' => 'fa fa-envelope-o', |
@@ -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 |