New function to complete threads from ostatus postings

This commit is contained in:
Michael Vogel 2013-01-27 23:25:04 +01:00
parent 2cb576d305
commit bc972e16ce
5 changed files with 152 additions and 14 deletions

View file

@ -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) {
}
}
}
}}