diff options
Diffstat (limited to 'includes/LinksUpdate.php')
-rw-r--r-- | includes/LinksUpdate.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/includes/LinksUpdate.php b/includes/LinksUpdate.php index 0712ac807bf3..8b403fcd85da 100644 --- a/includes/LinksUpdate.php +++ b/includes/LinksUpdate.php @@ -66,10 +66,6 @@ class LinksUpdate extends SqlDataUpdate { $this->mTitle = $title; $this->mId = $title->getArticleID(); - if ( !$this->mId ) { - throw new MWException( "The Title object did not provide an article ID. Perhaps the page doesn't exist?" ); - } - $this->mParserOutput = $parserOutput; $this->mLinks = $parserOutput->getLinks(); $this->mImages = $parserOutput->getImages(); |