Browse code

#21 fix for outdated phpMailer

Jimako authored on 2023/09/07 03:17:23
Showing 1 changed files
... ...
@@ -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
+}