| ... | ... |
@@ -37,13 +37,4 @@ if (version_compare(PHP_VERSION, '5.1.2', '>=')) {
|
| 37 | 37 |
} else {
|
| 38 | 38 |
spl_autoload_register('PHPMailerAutoload');
|
| 39 | 39 |
} |
| 40 |
-} else {
|
|
| 41 |
- /** |
|
| 42 |
- * Fall back to traditional autoload for old PHP versions |
|
| 43 |
- * @param string $classname The name of the class to load |
|
| 44 |
- */ |
|
| 45 |
- function __autoload($classname) |
|
| 46 |
- {
|
|
| 47 |
- PHPMailerAutoload($classname); |
|
| 48 |
- } |
|
| 49 |
-} |
|
| 40 |
+} |