mirror of
https://github.com/friendica/friendica
synced 2025-04-22 21:50:12 +00:00
Replace deprecated Addon::callHooks with Hook::callAll
- Update documentation
This commit is contained in:
parent
895b3abf32
commit
55e54bb950
58 changed files with 450 additions and 475 deletions
|
@ -7,7 +7,6 @@ namespace Friendica\Model;
|
|||
|
||||
use DivineOmega\PasswordExposed;
|
||||
use Exception;
|
||||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\Hook;
|
||||
use Friendica\Core\L10n;
|
||||
|
@ -707,7 +706,7 @@ class User
|
|||
}
|
||||
}
|
||||
|
||||
Addon::callHooks('register_account', $uid);
|
||||
Hook::callAll('register_account', $uid);
|
||||
|
||||
$return['user'] = $user;
|
||||
return $return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue