Skip to content
This repository has been archived by the owner on Aug 30, 2019. It is now read-only.

Commit

Permalink
fix(posts): make wall posts likeable
Browse files Browse the repository at this point in the history
  • Loading branch information
hypeJunction committed Feb 9, 2016
1 parent 7b8330d commit eddecba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions classes/hypeJunction/Wall/Plugin.php
Expand Up @@ -106,6 +106,8 @@ public function init() {
elgg_register_notification_event('object', 'thewire', array('publish'));
elgg_register_plugin_hook_handler('prepare', 'notification:publish:object:hjwall', array($this->notifications, 'formatMessage'));
elgg_register_plugin_hook_handler('prepare', 'notification:publish:object:thewire', array($this->notifications, 'formatMessage'));

elgg_register_plugin_hook_handler('likes:is_likable', 'object:hjwall', 'Elgg\Values::getTrue');
}

$action_path = $this->plugin->getPath() . '/actions/';
Expand Down

0 comments on commit eddecba

Please sign in to comment.