mirror of
https://github.com/standardebooks/web.git
synced 2025-07-22 23:34:48 -04:00
Tweak a session variable name and update comments
This commit is contained in:
parent
3050ab7219
commit
11d9d0f44a
12 changed files with 25 additions and 37 deletions
|
@ -28,11 +28,11 @@ try{
|
|||
try{
|
||||
$vote = PollVote::Get($poll->UrlName, Session::$User->UserId);
|
||||
|
||||
// Vote was found, don't allow another vote
|
||||
// Vote was found, don't allow another vote.
|
||||
throw new Exceptions\PollVoteExistsException($vote);
|
||||
}
|
||||
catch(Exceptions\PollVoteNotFoundException){
|
||||
// Vote was not found, user is OK to vote
|
||||
// Vote was not found, user is OK to vote.
|
||||
}
|
||||
|
||||
if($exception){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue