diff options
author | Michael Francis <edude03@gmail.com> | 2011-07-10 22:08:18 -0400 |
---|---|---|
committer | Michael Francis <edude03@gmail.com> | 2011-07-10 22:08:18 -0400 |
commit | 67845c588baa92bcc6d7003508e2509190d58770 (patch) | |
tree | 9c9385eb5ecac2969d4d761b564746a23a5bfe48 /models/confirmKey.php | |
parent | 85ed7ec89ae31412f2e6c35cfe437864b6cef528 (diff) | |
download | otakuhub-67845c588baa92bcc6d7003508e2509190d58770.tar.xz |
Added explaination
Diffstat (limited to 'models/confirmKey.php')
-rw-r--r-- | models/confirmKey.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/models/confirmKey.php b/models/confirmKey.php index 9348021..6047d25 100644 --- a/models/confirmKey.php +++ b/models/confirmKey.php @@ -21,6 +21,7 @@ class confirmKey extends \lithium\data\Model { //Checks if the key is valid (in the database); Validator::add('isValidKey', function($key) { + //If one key is found that matches the input key, then it's legit return confirmKey::count(array('conditions' => compact('key'))) == 1; }); } |