From df62f4656f4b8da04ede0b1486716f23236168ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20P=C3=A9rez=20Crespo?= <jaime.perez@uninett.no> Date: Mon, 27 Jan 2014 19:08:09 +0000 Subject: [PATCH] Fix for renamed function. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3335 44740490-163a-0410-bde0-09ae8108e29a --- lib/SimpleSAML/Utilities.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/SimpleSAML/Utilities.php b/lib/SimpleSAML/Utilities.php index ccee5d7d8..096b52b8f 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; } -- GitLab