diff --git a/_config.php b/_config.php index c34426e..43c9c56 100644 --- a/_config.php +++ b/_config.php @@ -8,7 +8,7 @@ if( // Register mailer if($mailer = Session::get('testsession.mailer')) { Email::set_mailer(new $mailer()); - Email::send_all_emails_to(null); + \Config::inst()->update("Email","send_all_emails_to", null); } // Set mock date and time