<?php
/**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
$this->pConfig = $pConfig;
}
- protected function doExecute()
+ protected function doExecute(): int
{
if ($this->getOption('v')) {
$this->out('Class: ' . __CLASS__);
* @return bool True, if the delete was successful
* @throws \Exception
*/
- private function deleteUser()
+ private function deleteUser(): bool
{
$user = $this->getUserByNick(1);
$contact['url'],
$contact['email'],
Temporal::getRelativeDate($contact['created']),
- Temporal::getRelativeDate($contact['login_date']),
+ Temporal::getRelativeDate($contact['last-activity']),
Temporal::getRelativeDate($contact['last-item']),
]);
}
'nickname',
'email',
'register_date',
- 'login_date',
+ 'last-activity',
'verified',
'blocked',
];