mirror of
https://github.com/friendica/friendica
synced 2025-04-23 23:50:12 +00:00
New function to complete threads from ostatus postings
This commit is contained in:
parent
2cb576d305
commit
bc972e16ce
5 changed files with 152 additions and 14 deletions
|
@ -158,6 +158,8 @@ function load_hooks() {
|
|||
|
||||
if(! function_exists('call_hooks')) {
|
||||
function call_hooks($name, &$data = null) {
|
||||
$stamp1 = microtime(true);
|
||||
|
||||
$a = get_app();
|
||||
|
||||
if((is_array($a->hooks)) && (array_key_exists($name,$a->hooks))) {
|
||||
|
@ -177,7 +179,6 @@ function call_hooks($name, &$data = null) {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
}}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue