Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattpiwik <matthieu.aubry@gmail.com>2011-10-19 02:38:04 +0400
committermattpiwik <matthieu.aubry@gmail.com>2011-10-19 02:38:04 +0400
commit08a9963480b77b77119ceedde7dcf558ae8a8b44 (patch)
treef65b585082d2766b4f6f0c355f874a145c815d4c /core/Date.php
parentecb220112528d43205d7a84bd04fb1094b9ae333 (diff)
Fixes #2719
Removing the health check since it's unhealthy! git-svn-id: http://dev.piwik.org/svn/trunk@5333 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/Date.php')
-rw-r--r--core/Date.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/Date.php b/core/Date.php
index f2c6a94512..86272aecb5 100644
--- a/core/Date.php
+++ b/core/Date.php
@@ -81,9 +81,9 @@ class Piwik_Date
$date = new Piwik_Date($dateString);
}
$timestamp = $date->getTimestamp();
- if($timestamp < 681436800 // can't be doing web analytics before the 1st website
- || $timestamp > 7289049600 // piwik is designed to last (date lib will break long before that)
- ) {
+ // can't be doing web analytics before the 1st website
+ if($timestamp < 681436800 )
+ {
throw $invalidDateException;
}
if(empty($timezone))