diff --git a/classes/Employee.php b/classes/Employee.php index b12798e21..0f34f1a0f 100644 --- a/classes/Employee.php +++ b/classes/Employee.php @@ -68,16 +68,13 @@ class EmployeeCore extends ObjectModel /** @var boolean Status */ public $active = 1; - /** @var boolean show screencast */ - public $show_screencast = 1; - public $remote_addr; protected $fieldsRequired = array('lastname', 'firstname', 'email', 'passwd', 'id_profile', 'id_lang'); protected $fieldsSize = array('lastname' => 32, 'firstname' => 32, 'email' => 128, 'passwd' => 32, 'bo_color' => 32, 'bo_theme' => 32); protected $fieldsValidate = array('lastname' => 'isName', 'firstname' => 'isName', 'email' => 'isEmail', 'id_lang' => 'isUnsignedInt', 'passwd' => 'isPasswdAdmin', 'active' => 'isBool', 'id_profile' => 'isInt', 'bo_color' => 'isColor', 'bo_theme' => 'isGenericName', - 'bo_uimode' => 'isGenericName', 'show_screencast' => 'isBool', 'bo_show_screencast' => 'isBool'); + 'bo_uimode' => 'isGenericName', 'bo_show_screencast' => 'isBool'); protected $table = 'employee'; protected $identifier = 'id_employee'; @@ -118,7 +115,6 @@ class EmployeeCore extends ObjectModel $fields['bo_uimode'] = pSQL($this->bo_uimode); $fields['bo_show_screencast'] = (int)$this->bo_show_screencast; $fields['active'] = (int)$this->active; - $fields['show_screencast'] = (int)$this->show_screencast; return $fields; } @@ -293,4 +289,4 @@ class EmployeeCore extends ObjectModel $data[] = (int)$group_data['id_shop']; return $data; } -} \ No newline at end of file +}