mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-07 00:46:59 +01:00
* [ADD] Option for enable/disable account's password expiry date. The expire time could be set too
* [ADD] Random generated passwords can be copied to clipboard * [ADD] Random generated passwords can be viewed after being generated * [MOD] Code refactoring
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
/**
|
||||
* sysPass
|
||||
*
|
||||
* @author nuxsmin
|
||||
* @link https://syspass.org
|
||||
* @author nuxsmin
|
||||
* @link https://syspass.org
|
||||
* @copyright 2012-2018, Rubén Domínguez nuxsmin@$syspass.org
|
||||
*
|
||||
* This file is part of sysPass.
|
||||
@@ -24,8 +24,6 @@
|
||||
|
||||
namespace SP\DataModel;
|
||||
|
||||
use SP\Mgmt\CustomFields\CustomFieldTypes;
|
||||
|
||||
/**
|
||||
* Class CustomFieldDefDataOld
|
||||
*
|
||||
@@ -162,23 +160,6 @@ class CustomFieldDefDataOld extends CustomFieldBaseData implements DataModelInte
|
||||
$this->help = $help;
|
||||
}
|
||||
|
||||
/**
|
||||
* unserialize() checks for the presence of a function with the magic name __wakeup.
|
||||
* If present, this function can reconstruct any resources that the object may have.
|
||||
* The intended use of __wakeup is to reestablish any database connections that may have been lost during
|
||||
* serialization and perform other reinitialization tasks.
|
||||
*
|
||||
* @return void
|
||||
* @link http://php.net/manual/en/language.oop5.magic.php#language.oop5.magic.sleep
|
||||
*/
|
||||
public function __wakeup()
|
||||
{
|
||||
parent::__wakeup();
|
||||
|
||||
$this->moduleName = CustomFieldTypes::getFieldsModules($this->getModule());
|
||||
$this->typeName = CustomFieldTypes::getFieldsTypes($this->getType(), true);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user