mirror of
https://github.com/friendica/friendica
synced 2025-04-26 14:30:13 +00:00
Update Addon functions and calls
Update function names and calls for Addon class.
This commit is contained in:
parent
213f6ae1a1
commit
11cf36105c
73 changed files with 544 additions and 464 deletions
|
@ -3,6 +3,7 @@
|
|||
* @file include/network.php
|
||||
*/
|
||||
use Friendica\App;
|
||||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Network\Probe;
|
||||
|
@ -653,7 +654,7 @@ function avatar_img($email)
|
|||
$avatar['url'] = '';
|
||||
$avatar['success'] = false;
|
||||
|
||||
call_hooks('avatar_lookup', $avatar);
|
||||
Addon::callHooks('avatar_lookup', $avatar);
|
||||
|
||||
if (! $avatar['success']) {
|
||||
$avatar['url'] = System::baseUrl() . '/images/person-175.jpg';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue