I was looking at hooks, in particular ArticleDeleteComplete, and
noticed that they are called from a function that is quite in the
front end 'doDelete'. When an article is deleted via the API, it calls
the backend function 'doDeleteArticle'. This means that the hooks
related to article deletion are never called. Is this intended?