Skip to content

Commit

Permalink
Bug fix in tokenExpired
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmoey committed Nov 21, 2011
1 parent 65dce84 commit 7bee4f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/ApiUsers.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public function search()

public function tokenExpired() {
if ($this->token == "") return true;
if (strtotime($this->token_expire) > time()) return true;
if (strtotime($this->token_expire) < time()) return true;
return false;
}

Expand Down

0 comments on commit 7bee4f8

Please sign in to comment.