1
1
Fork 0

toggles "post to facebook, post to twitter", etc.

This commit is contained in:
Friendika 2011-02-11 02:35:19 -08:00
commit c16e86add8
11 changed files with 127 additions and 15 deletions

View file

@ -516,6 +516,7 @@ function check_config(&$a) {
}
}
}
load_hooks();
return;
}}
@ -2189,6 +2190,7 @@ function unregister_hook($hook,$file,$function) {
if(! function_exists('load_hooks')) {
function load_hooks() {
$a = get_app();
$a->hooks = array();
$r = q("SELECT * FROM `hook` WHERE 1");
if(count($r)) {
foreach($r as $rr) {