mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-22 21:03:01 +09:00
setPass and getTempPass function removed from Model_Client
deprecated and not used!
This commit is contained in:
1 parent
606874a333
commit
af723bf707
1 file changed
-24
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user