This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
protected function flushQueue() | |
{ | |
$container = $this->getContainer(); | |
$transport = $container->get('mailer')->getTransport(); | |
$spool = $transport->getSpool(); | |
$spool->flushQueue($container->get('swiftmailer.transport.real')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
mysql query to generate option list | |
SELECT CONCAT('<option value="', `Name`, '">', `Name`, '</option>') FROM mysql.time_zone_name; | |
if mysql.time_zone_name has no records go here: http://dev.mysql.com/downloads/timezones.html | |
to convert date/time between timezones do something like this: | |
SELECT startdate, CONVERT_TZ(startdate, 'utc', (SELECT timezone FROM accounts WHERE id=1)) FROM auctions; | |
--> |