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
|
@ -11,6 +11,7 @@
|
|||
*/
|
||||
|
||||
use Friendica\App;
|
||||
use Friendica\Core\Addon;
|
||||
use Friendica\Util\ParseUrl;
|
||||
|
||||
require_once("include/items.php");
|
||||
|
@ -91,7 +92,7 @@ function parse_url_content(App $a) {
|
|||
|
||||
$arr = ["url" => $url, "text" => ""];
|
||||
|
||||
call_hooks("parse_link", $arr);
|
||||
Addon::callHooks("parse_link", $arr);
|
||||
|
||||
if (strlen($arr["text"])) {
|
||||
echo $arr["text"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue