setPass and getTempPass function removed from Model_Client

deprecated and not used!
This commit is contained in:
Vaidas Lungis committed 2014-11-13 14:02:36 +02:00
1 parent 606874a333
commit af723bf707
1 file changed
-24
-24
View File
@@ -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;