(bug 23002) Imagelinks table not updated after imagemove. The actual bug was inconsis...
[lhc/web/wiklou.git] / includes / parser / Parser.php
index e1cafa7..1f780fb 100644 (file)
@@ -3508,8 +3508,6 @@ class Parser {
                # Register the file as a dependency...
                $this->mOutput->addImage( $title->getDBkey(), $time, $sha1 );
                if ( $file && !$title->equals( $file->getTitle() ) ) {
-                       # We fetched a rev from a different title; register it too...
-                       $this->mOutput->addImage( $file->getTitle()->getDBkey(), $time, $sha1 );
                        # Update fetched file title 
                        $title = $file->getTitle();
                }