Annotation after delete

A callback is triggered after annotation is deleted.

<?php
function my_component_init(){
		ossn_register_callback('annotation', 'delete', 'my_component_cb');
}
function my_component_cb($callback, $type, $params){
		//$params['annotation'] contains the annotation instance
}

Becareful as after deletation you may not able to access this annotation.