aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-02-11 02:35:19 -0800
committerFriendika <info@friendika.com>2011-02-11 02:35:19 -0800
commitc16e86add81d9f2867a0da024954b5cbc14a9f4b (patch)
tree012c13873b4c876b5198d9c8c0c7f0e91a29455f /boot.php
parent40574589e27d9135a434dcc4f9dfa899fe5f8ec6 (diff)
downloadvolse-hubzilla-c16e86add81d9f2867a0da024954b5cbc14a9f4b.tar.gz
volse-hubzilla-c16e86add81d9f2867a0da024954b5cbc14a9f4b.tar.bz2
volse-hubzilla-c16e86add81d9f2867a0da024954b5cbc14a9f4b.zip
toggles "post to facebook, post to twitter", etc.
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index f1edf798e..9c8712750 100644
--- a/boot.php
+++ b/boot.php
@@ -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) {