Skip to content
Snippets Groups Projects
Commit 6b002198 authored by Mark Jarrell's avatar Mark Jarrell
Browse files

Removes debugging code.

parent 0153f01c
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,6 @@ class ForgotPinForm extends FormBase {
$data = $patron->basicData();
// Check expiration date.
$circulation_blocks = $patron->circulateBlocksGet();
$debug = true;
preg_match('/\/Date\((-*)(\d+)(-\d+)\)\//', $circulation_blocks->ExpirationDate, $date);
$expiration_date = $date[1] . $date[2]/1000;
if ($data && $expiration_date < time()) { // This card is expired.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment