diff options
| author | spiderr <spider@viovio.com> | 2012-02-10 11:05:23 -0500 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2012-02-10 11:05:23 -0500 |
| commit | 608676ee588e123080afaa96e232a5e86717c8dc (patch) | |
| tree | 6f6e610d45df3ae449fdfd587e9a3899d965f7f9 /confirm.php | |
| parent | b8266b3b04d4fec5a48bd707c34f8d950ae1c463 (diff) | |
| download | users-608676ee588e123080afaa96e232a5e86717c8dc.tar.gz users-608676ee588e123080afaa96e232a5e86717c8dc.tar.bz2 users-608676ee588e123080afaa96e232a5e86717c8dc.zip | |
use HttpStatusCodes in ::fatalError call
Diffstat (limited to 'confirm.php')
| -rw-r--r-- | confirm.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/confirm.php b/confirm.php index c8eaaff..44e7f43 100644 --- a/confirm.php +++ b/confirm.php @@ -26,7 +26,6 @@ if( !empty( $userId ) && !empty( $provPass ) && $userInfo = $gBitUser->confirmRe $gBitSmarty->assign_by_ref( 'userInfo', $userInfo ); $gBitSystem->display( 'bitpackage:users/change_password.tpl', 'Confirm Password Change' , array( 'display_mode' => 'display' )); } else { - $gBitSystem->setHttpStatus( 410 ); - $gBitSystem->fatalError( tra("This confirmation link is no longer valid. Please Login or <a href=\"".USERS_PKG_URL."remind_password.php\">request a new password change</a>") ); + $gBitSystem->fatalError( tra("This confirmation link is no longer valid. Please Login or <a href=\"".USERS_PKG_URL."remind_password.php\">request a new password change</a>"), NULL, NULL, HttpStatusCodes::HTTP_GONE ); } ?> |
