mirror of
https://github.com/openvk/openvk
synced 2024-12-23 09:01:15 +03:00
parent
b61ea926f9
commit
1a4696da91
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ abstract class OpenVKPresenter extends SimplePresenter
|
||||||
|
|
||||||
$userValidated = 1;
|
$userValidated = 1;
|
||||||
$cacheTime = 0; # Force no cache
|
$cacheTime = 0; # Force no cache
|
||||||
if ($this->user->identity->onlineStatus() == 0) {
|
if($this->user->identity->onlineStatus() == 0 && !($this->user->identity->isDeleted() || $this->user->identity->isBanned())) {
|
||||||
$this->user->identity->setOnline(time());
|
$this->user->identity->setOnline(time());
|
||||||
$this->user->identity->save();
|
$this->user->identity->save();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue