mirror of
https://github.com/friendica/friendica
synced 2025-04-25 20:30:11 +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
|
@ -10,9 +10,9 @@ use DOMNode;
|
|||
use DOMText;
|
||||
use DOMXPath;
|
||||
use Exception;
|
||||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\Cache;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\Hook;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\Renderer;
|
||||
use Friendica\Core\System;
|
||||
|
@ -159,7 +159,7 @@ class OEmbed
|
|||
}
|
||||
}
|
||||
|
||||
Addon::callHooks('oembed_fetch_url', $embedurl, $oembed);
|
||||
Hook::callAll('oembed_fetch_url', $embedurl, $oembed);
|
||||
|
||||
return $oembed;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue