Skip to content

Commit

Permalink
no need for I18n
Browse files Browse the repository at this point in the history
  • Loading branch information
Joris Vaesen committed Aug 3, 2017
1 parent c5dda9c commit 26dcfcc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Http/Response.php
Expand Up @@ -19,7 +19,6 @@
use Cake\Http\Cookie\Cookie;
use Cake\Http\Cookie\CookieCollection;
use Cake\Http\Cookie\CookieInterface;
use Cake\I18n\Time;
use Cake\Log\Log;
use Cake\Network\CorsBuilder;
use Cake\Network\Exception\NotFoundException;
Expand Down Expand Up @@ -2084,7 +2083,7 @@ public function withExpiredCookie($name, $options = [])
$cookie = new Cookie(
$name,
'',
new Time(1),
DateTime::createFromFormat('U', 1),
$options['path'],
$options['domain'],
$options['secure'],
Expand Down

0 comments on commit 26dcfcc

Please sign in to comment.