Removing offline hook

Offline hooks create duplicate entries in database