Notifications list type

You can change default notification type. The current lists the unread notifications. Default true means shows unread only. false means show all notifications.

<?php
function my_component_init(){
		ossn_add_hook('list', 'notification:unread', 'my_component_hook');
}
function my_component_hook($hook, $type, $unread_or_all, $params = array()){
		return true;
}
ossn_register_callback('ossn', 'init', 'my_component_init');