summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaime Pérez Crespo <jaime.perez@uninett.no>2014-01-27 19:08:09 +0000
committerJaime Pérez Crespo <jaime.perez@uninett.no>2014-01-27 19:08:09 +0000
commitdf62f4656f4b8da04ede0b1486716f23236168ff (patch)
tree9fa464306c93f7b0663df822723085ec840de264
parent0033a24ab2f8b6ebd5a57d533d60e2d84ed3630a (diff)
downloadsimplesamlphp-df62f4656f4b8da04ede0b1486716f23236168ff.zip
simplesamlphp-df62f4656f4b8da04ede0b1486716f23236168ff.tar.gz
simplesamlphp-df62f4656f4b8da04ede0b1486716f23236168ff.tar.bz2
Fix for renamed function.
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3335 44740490-163a-0410-bde0-09ae8108e29a
-rw-r--r--lib/SimpleSAML/Utilities.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/SimpleSAML/Utilities.php b/lib/SimpleSAML/Utilities.php
index ccee5d7..096b52b 100644
--- a/lib/SimpleSAML/Utilities.php
+++ b/lib/SimpleSAML/Utilities.php
@@ -365,14 +365,14 @@ class SimpleSAML_Utilities {
$currentTime = time();
if (!empty($start)) {
- $startTime = SAML2_Utils::parseSAML2Time($start);
+ $startTime = SAML2_Utils::xsDateTimeToTimestamp($start);
/* Allow for a 10 minute difference in Time */
if (($startTime < 0) || (($startTime - 600) > $currentTime)) {
return FALSE;
}
}
if (!empty($end)) {
- $endTime = SAML2_Utils::parseSAML2Time($end);
+ $endTime = SAML2_Utils::xsDateTimeToTimestamp($end);
if (($endTime < 0) || ($endTime <= $currentTime)) {
return FALSE;
}