mirror of
https://github.com/friendica/friendica
synced 2025-04-22 10:30:12 +00:00
Update deprecated calls in Model\user and mod/removeme
This commit is contained in:
parent
9d2f474c07
commit
0bae80a2d3
2 changed files with 3 additions and 2 deletions
|
@ -9,6 +9,7 @@ use DivineOmega\PasswordExposed;
|
|||
use Exception;
|
||||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\Hook;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Core\PConfig;
|
||||
|
@ -791,7 +792,7 @@ class User
|
|||
|
||||
$user = DBA::selectFirst('user', [], ['uid' => $uid]);
|
||||
|
||||
Addon::callHooks('remove_user', $user);
|
||||
Hook::callAll('remove_user', $user);
|
||||
|
||||
// save username (actually the nickname as it is guaranteed
|
||||
// unique), so it cannot be re-registered in the future.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue