diff options
Diffstat (limited to 'mod/thewire/start.php')
| -rw-r--r-- | mod/thewire/start.php | 12 | 
1 files changed, 11 insertions, 1 deletions
diff --git a/mod/thewire/start.php b/mod/thewire/start.php index 0e6bd7794..9d3993b6f 100644 --- a/mod/thewire/start.php +++ b/mod/thewire/start.php @@ -278,6 +278,16 @@ function thewire_save_post($text, $userid, $access_id, $parent_guid = 0, $method  	if ($guid) {  		add_to_river('river/object/thewire/create', 'create', $post->owner_guid, $post->guid); + +		// let other plugins know we are setting a user status +		$params = array( +			'entity' => $post, +			'user' => $post->getOwnerEntity(), +			'message' => $post->description, +			'url' => $post->getURL(), +			'origin' => 'thewire', +		); +		elgg_trigger_plugin_hook('status', 'user', $params);  	}  	return $guid; @@ -401,7 +411,7 @@ function thewire_setup_entity_menu_items($hook, $type, $value, $params) {  			'text' => elgg_echo('thewire:previous'),  			'href' => "thewire/previous/$entity->guid",  			'priority' => 160, -			'class' => 'thewire-previous', +			'link_class' => 'thewire-previous',  			'title' => elgg_echo('thewire:previous:help'),  		);  		$value[] = ElggMenuItem::factory($options);  | 
