From 7d0bba4e036372e9dbdb78e4b3f9d0533fbb2cfb Mon Sep 17 00:00:00 2001 From: mMarinetti Date: Fri, 28 Oct 2011 16:12:05 +0000 Subject: [PATCH] // bugfix duplicated information (show_screenshot) git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9731 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/Employee.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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 +}