Fixed installation
authorAlexander Ebert <ebert@woltlab.com>
Thu, 23 Feb 2012 21:50:50 +0000 (22:50 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 23 Feb 2012 21:50:50 +0000 (22:50 +0100)
wcfsetup/install/files/lib/system/package/PackageArchive.class.php
wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php

index e147b4fd0a2a2f005c0f226bd24cb7d7c5e51603..7be3c9a43335435bbf3ae2b6fd6852c895e7faad 100644 (file)
@@ -231,8 +231,7 @@ class PackageArchive {
                                                throw new SystemException("package date '".$element->nodeValue."' is invalid, violating ISO-8601 date format.");
                                        }
                                        
-                                       // TODO: Is this even neccessary?
-                                       //$this->packageInfo['date'] = strtotime($element->nodeValue) + 43201;
+                                       $this->packageInfo['date'] = strtotime($element->nodeValue);
                                break;
                        }
                }
index dd24daf769af977c0e3251f45cdf564efb0fc0e3..9183ee8348817fed18d4b190dc795ce306e00e0d 100644 (file)
@@ -1,7 +1,5 @@
 <?php
 namespace wcf\system\package;
-use wcf\system\form\FormDocument;
-
 use wcf\data\application\Application;
 use wcf\data\application\ApplicationEditor;
 use wcf\data\language\LanguageEditor;
@@ -15,6 +13,7 @@ use wcf\system\database\util\PreparedStatementConditionBuilder;
 use wcf\system\exception\SystemException;
 use wcf\system\form\container;
 use wcf\system\form\element;
+use wcf\system\form\FormDocument;
 use wcf\system\menu\acp\ACPMenu;
 use wcf\system\request\LinkHandler;
 use wcf\system\request\RouteHandler;