Skip to content

Commit d13e2f4

Browse files
committed
comments modified
1 parent 3db49e1 commit d13e2f4

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

application/controllers/login.php

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,11 @@ function resetPasswordUser()
166166
}
167167
}
168168

169-
// This function used to reset the password
169+
/**
170+
* This function used to reset the password
171+
* @param string $activation_id : This is unique id
172+
* @param string $email : This is user email
173+
*/
170174
function resetPasswordConfirmUser($activation_id, $email)
171175
{
172176
// Get email and activation code from URL values at index 3-4
@@ -188,7 +192,9 @@ function resetPasswordConfirmUser($activation_id, $email)
188192
}
189193
}
190194

191-
// This function used to create new password
195+
/**
196+
* This function used to create new password for user
197+
*/
192198
function createPasswordUser()
193199
{
194200
$status = '';
@@ -231,8 +237,6 @@ function createPasswordUser()
231237
redirect("/login");
232238
}
233239
}
234-
235-
236240
}
237241

238242
?>

application/controllers/user.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,9 @@ function changePassword()
319319
}
320320
}
321321

322+
/**
323+
* Page not found : error 404
324+
*/
322325
function pageNotFound()
323326
{
324327
$this->global['pageTitle'] = 'CodeInsect : 404 - Page Not Found';

0 commit comments

Comments
 (0)