Removing the default timezone setting

- It causes the process timezone to change for entire application
- Timezone should be set by the application using the SDK.
This commit is contained in:
Jay
2015-09-22 14:55:06 -05:00
parent fd6801cda1
commit 879de440d1

View File

@@ -70,11 +70,6 @@ class PayPalLoggingManager
*/
public function __construct()
{
// To suppress the warning during the date() invocation in logs, we would default the timezone to GMT.
if (!ini_get('date.timezone')) {
date_default_timezone_set('GMT');
}
$config = PayPalConfigManager::getInstance()->getConfigHashmap();
$this->isLoggingEnabled = (array_key_exists('log.LogEnabled', $config) && $config['log.LogEnabled'] == '1');