mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
Replace deprecated Addon::callHooks by Hook::callAll
This commit is contained in:
parent
aa5fbb4994
commit
eaeb834819
2 changed files with 4 additions and 2 deletions
|
@ -31,6 +31,7 @@ use Friendica\Content\Text\BBCode;
|
|||
use Friendica\Content\Text\HTML;
|
||||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\Authentication;
|
||||
use Friendica\Core\Hook;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Core\PConfig;
|
||||
|
@ -475,5 +476,5 @@ function windowsphonepush_login(App $a)
|
|||
|
||||
Authentication::setAuthenticatedSessionForUser($record);
|
||||
$_SESSION["allow_api"] = true;
|
||||
Addon::callHooks('logged_in', $a->user);
|
||||
Hook::callAll('logged_in', $a->user);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue