Skip to content

Commit 36aa929

Browse files
committed
Merge pull request #116 from lakshmisundar/future
Issue : 115 Merging into future to be included in next release.
2 parents 976e57d + 46953cf commit 36aa929

4 files changed

Lines changed: 0 additions & 4 deletions

File tree

lib/net/authorize/api/controller/base/ApiOperationBase.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ abstract class ApiOperationBase implements IApiOperation
4848
*/
4949
public function __construct(\net\authorize\api\contract\v1\AnetApiRequestType $request, $responseType)
5050
{
51-
date_default_timezone_set('UTC');
5251
$this->logger = LogFactory::getLog(get_class($this));
5352

5453
if ( null == $request)

lib/net/authorize/util/Helpers.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ public static function now()
1919
//init only once
2020
if ( ! self::$initialized)
2121
{
22-
date_default_timezone_set('UTC');
2322
self::$initialized = true;
2423
}
2524
return date( DATE_RFC2822);

lib/net/authorize/util/HttpClient.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ class HttpClient
2323
public function __construct()
2424
{
2525
$this->logger = LogFactory::getLog(get_class($this));
26-
date_default_timezone_set('UTC');
2726
}
2827

2928
/**

tests/bootstrap.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
}
1414

1515
// Append to log file
16-
date_default_timezone_set('UTC'); //necessary for the following date to set timezone
1716
$logMessage = sprintf("Logging Started: %s\n", date(DATE_RFC2822));
1817
if (AUTHORIZENET_LOG_FILE)
1918
{

0 commit comments

Comments
 (0)