employeedetails controller isadmin function removed

This commit is contained in:
gandhimathi 2017-10-27 14:26:58 +00:00
parent 75931fa3a8
commit 836d5cbb26

View File

@ -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()