diff options
author | cash <cash.costello@gmail.com> | 2012-02-04 18:19:10 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2012-02-04 18:19:10 -0500 |
commit | 1c361b9b73f6dba4d495d9f47441ba98741e3bd7 (patch) | |
tree | 4f3e6c9a690652bf5c1450132e0a890a432ccf83 | |
parent | c578c639527fad98ae60676ea58860809462d4dc (diff) | |
download | elgg-1c361b9b73f6dba4d495d9f47441ba98741e3bd7.tar.gz elgg-1c361b9b73f6dba4d495d9f47441ba98741e3bd7.tar.bz2 |
removed some old code from thewire
-rw-r--r-- | mod/thewire/start.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/mod/thewire/start.php b/mod/thewire/start.php index fdaf91355..ebfe29538 100644 --- a/mod/thewire/start.php +++ b/mod/thewire/start.php @@ -18,12 +18,6 @@ elgg_register_event_handler('init', 'system', 'thewire_init'); * The Wire initialization */ function thewire_init() { - global $CONFIG; - - // this can be removed in favor of activate/deactivate scripts - if (!update_subtype('object', 'thewire', 'ElggWire')) { - add_subtype('object', 'thewire', 'ElggWire'); - } // register the wire's JavaScript $thewire_js = elgg_get_simplecache_url('js', 'thewire'); @@ -68,7 +62,7 @@ function thewire_init() { elgg_register_plugin_hook_handler('notify:entity:message', 'object', 'thewire_notify_message'); // Register actions - $action_base = $CONFIG->pluginspath . 'thewire/actions'; + $action_base = elgg_get_plugins_path() . 'thewire/actions'; elgg_register_action("thewire/add", "$action_base/add.php"); elgg_register_action("thewire/delete", "$action_base/delete.php"); |