/**
  * Hook
  *
  * @param Article $article -- instance of Article class
  * @param User    $user    -- current user
  * @param string  $reason  -- deleting reason
  * @param integer $error   -- error msg
  *
  * @static
  * @access public
  *
  * @return true -- because it's a hook
  */
 public static function articleDelete(&$article, &$user, &$reason, &$error)
 {
     wfProfileIn(__METHOD__);
     $title = $article->getTitle();
     if (empty(self::$mArticlesToDelete)) {
         $listing = ArticleCommentList::newFromTitle($title);
         self::$mArticlesToDelete = $listing->getAllCommentPages();
     }
     wfProfileOut(__METHOD__);
     return true;
 }