Skip to content

Commit 16c81e2

Browse files
authored
Merge pull request #4 from vemaeg/swiftmailer-6
Swiftmailer 6
2 parents 83ff03e + be69083 commit 16c81e2

6 files changed

+328
-377
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ See http://symfony.com/legacy/doc/getting-started/1_4/en/03-Symfony-Installation
4343

4444
Option 1: Using [Composer](http://getcomposer.org/doc/00-intro.md) as dependency management:
4545

46-
composer require lexpress/symfony1 "1.5.*"
46+
composer require friendsofsymfony1/symfony1 "1.5.*"
4747
composer install
4848

4949
Note: On windows, if your project is a few directories down from the drive root, composer can throw an error relating to ZipArchive::extractTo(), this can be because pathnames are too long. There currently appears to be no proper solution but a workaround is to move your project to the drive root, run the commands from there, where they will run happily, and then move your project back.

autoload.php

-5
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,3 @@
33
require_once __DIR__.'/lib/autoload/sfCoreAutoload.class.php';
44

55
sfCoreAutoload::register();
6-
7-
// Register sfMailerSwiftmailer6 as default sfMailer, if Swiftmailer ~6.0 has been loaded.
8-
if(version_compare(Swift::VERSION, '6.0.0') >= 0) {
9-
sfConfig::set('sf_factory_mailer', 'sfMailerSwiftmailer6');
10-
}

lib/autoload/sfCoreAutoload.class.php

-2
Original file line numberDiff line numberDiff line change
@@ -342,9 +342,7 @@ static public function make()
342342
'sfvarlogger' => 'log/sfVarLogger.class.php',
343343
'sfwebdebuglogger' => 'log/sfWebDebugLogger.class.php',
344344
'sfmailer' => 'mailer/sfMailer.class.php',
345-
'sfmailerbase' => 'mailer/sfMailerBase.class.php',
346345
'sfmailermessageloggerplugin' => 'mailer/sfMailerMessageLoggerPlugin.class.php',
347-
'sfmailerswiftmailer6' => 'mailer/sfMailerSwiftmailer6.class.php',
348346
'sfnomailer' => 'mailer/sfNoMailer.class.php',
349347
'sfpearconfig' => 'plugin/sfPearConfig.class.php',
350348
'sfpeardownloader' => 'plugin/sfPearDownloader.class.php',

0 commit comments

Comments
 (0)