From af723bf707997133971bd008e156ae39fd07d085 Mon Sep 17 00:00:00 2001 From: Vaidas Lungis Date: Thu, 13 Nov 2014 14:02:36 +0200 Subject: [PATCH] setPass and getTempPass function removed from Model_Client deprecated and not used! --- src/bb-library/Model/Client.php | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/src/bb-library/Model/Client.php b/src/bb-library/Model/Client.php index 22d96d476..4037a856f 100644 --- a/src/bb-library/Model/Client.php +++ b/src/bb-library/Model/Client.php @@ -17,30 +17,6 @@ class Model_Client extends RedBean_SimpleModel const SUSPENDED = 'suspended'; const CANCELED = 'canceled'; - /** - * Override default setter - * @param string $value - * @return bool - * @deprecated - */ - public function setPass($value) - { - $this->mapValue('tmp_pass', $value); - return $this->_set('pass', sha1($value)); - } - - /** - * @return bool - * @deprecated - */ - public function getTempPass() - { - if($this->hasMappedValue('tmp_pass')) { - return $this->_values['tmp_pass']; - } - return false; - } - public function getFullName() { return $this->first_name .' '.$this->last_name;