summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Brockert <kbrockertii@gmail.com>2016-10-23 23:11:04 -0400
committerKenneth Brockert <kbrockertii@gmail.com>2016-10-23 23:11:04 -0400
commitddf210fb9253c7ef84424ad4068c659d6187ff3c (patch)
tree2d800db244bba4b8f87ef2aea86f9c6984a7e765
parentb14828d41b6de8bf8383d520d88ea2a9ec691c03 (diff)
downloadPHPAuth-ddf210fb9253c7ef84424ad4068c659d6187ff3c.zip
PHPAuth-ddf210fb9253c7ef84424ad4068c659d6187ff3c.tar.gz
PHPAuth-ddf210fb9253c7ef84424ad4068c659d6187ff3c.tar.bz2
Stop fetching request twice
-rw-r--r--Auth.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/Auth.php b/Auth.php
index 50ff497..0914622 100644
--- a/Auth.php
+++ b/Auth.php
@@ -849,8 +849,6 @@ class Auth
return $return;
}
- $row = $query->fetch();
-
$expiredate = strtotime($row['expire']);
$currentdate = strtotime(date("Y-m-d H:i:s"));