public function destroy()
{
remove_action('wp_insert_post', array($this, 'action_sync_on_update'), 999, 3);
remove_action('add_attachment', array($this, 'action_sync_on_update'), 999, 3);
remove_action('edit_attachment', array($this, 'action_sync_on_update'), 999, 3);
remove_action('delete_post', array($this, 'action_delete_post'));
remove_action('delete_blog', array($this, 'action_delete_blog_from_index'));
remove_action('make_spam_blog', array($this, 'action_delete_blog_from_index'));
remove_action('archive_blog', array($this, 'action_delete_blog_from_index'));
remove_action('deactivate_blog', array($this, 'action_delete_blog_from_index'));
remove_action('updated_postmeta', array($this, 'action_queue_meta_sync'), 10, 4);
remove_action('added_post_meta', array($this, 'action_queue_meta_sync'), 10, 4);
remove_action('shutdown', array($this, 'action_index_sync_queue'));
}