aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/social.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/social.php')
-rw-r--r--engine/lib/social.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/engine/lib/social.php b/engine/lib/social.php
index 14328376e..036173dfc 100644
--- a/engine/lib/social.php
+++ b/engine/lib/social.php
@@ -64,7 +64,8 @@
// Set the shout words blacklist, these do not become tags when the string is converted
// Any language packs should include their own!
- GLOBAL $CONFIG;
+ function social_init() {
+ global $CONFIG;
$CONFIG->wordblacklist = array(
'and',
'the',
@@ -101,5 +102,8 @@
'whoever',
'whomever',
);
+ }
+
+ register_elgg_event_handler("init","system","social_init");
?> \ No newline at end of file