Removed obsolete timezone parameter
authorMarcel Werk <burntime@woltlab.com>
Wed, 20 Jul 2016 11:20:33 +0000 (13:20 +0200)
committerMarcel Werk <burntime@woltlab.com>
Wed, 20 Jul 2016 11:44:07 +0000 (13:44 +0200)
wcfsetup/install/files/lib/system/poll/PollManager.class.php

index 2e8ad2cce6ff512758f104d8523c80ce0a1bb06b..74fb1306252604159525e74aa4ed1e1929493b42 100644 (file)
@@ -169,7 +169,7 @@ class PollManager extends SingletonFactory {
                
                // poll data
                if (isset($postData['pollEndTime'])) {
-                       $d = \DateTime::createFromFormat('Y-m-d\TH:i:sP', $postData['pollEndTime'], WCF::getUser()->getTimeZone());
+                       $d = \DateTime::createFromFormat('Y-m-d\TH:i:sP', $postData['pollEndTime']);
                        $this->pollData['endTime'] = ($d !== false) ? $d->getTimestamp() : 0;
                }