File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 )
Original file line number Diff line number Diff 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 );
Original file line number Diff line number Diff 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 /**
Original file line number Diff line number Diff line change 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 ));
1817if (AUTHORIZENET_LOG_FILE )
1918{
You can’t perform that action at this time.
0 commit comments