mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-29 10:49:22 +02:00
* reverted getLastLogin cause it was used by tibia11-login plugin
This commit is contained in:
parent
85c9a1e84d
commit
5266f33af5
@ -344,6 +344,16 @@ class OTS_Account extends OTS_Row_DAO implements IteratorAggregate, Countable
|
|||||||
//return $this->data['premdays'] - (date("z", time()) + (365 * (date("Y", time()) - date("Y", $this->data['lastday']))) - date("z", $this->data['lastday']));
|
//return $this->data['premdays'] - (date("z", time()) + (365 * (date("Y", time()) - date("Y", $this->data['lastday']))) - date("z", $this->data['lastday']));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getLastLogin()
|
||||||
|
{
|
||||||
|
if( !isset($this->data['lastday']) )
|
||||||
|
{
|
||||||
|
throw new E_OTS_NotLoaded();
|
||||||
|
}
|
||||||
|
|
||||||
|
return $this->data['lastday'];
|
||||||
|
}
|
||||||
|
|
||||||
public function isPremium()
|
public function isPremium()
|
||||||
{
|
{
|
||||||
global $config;
|
global $config;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user