employeedetails controller isadmin function removed
This commit is contained in:
parent
75931fa3a8
commit
836d5cbb26
@ -509,12 +509,7 @@ echo "<script>alert('Record Not Saved!');</script>";redirect('employeeListing','
|
||||
|
||||
function ViewEmployee($EmpNO='')
|
||||
{
|
||||
if($this->isAdmin() == TRUE)
|
||||
{
|
||||
$this->loadThis();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
if($EmpNO == '')
|
||||
{
|
||||
$EmpID = $_GET['EmpID'];
|
||||
@ -543,7 +538,7 @@ echo "<script>alert('Record Not Saved!');</script>";redirect('employeeListing','
|
||||
|
||||
$this->loadViews("editEmployee", $this->global, $data, NULL);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
/* To Check the email exists in the database or not for the employee*/
|
||||
function checkMailEmp()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user