Merge "Avoid usage of deprecated setTags() method, use addTags() instead"
[lhc/web/wiklou.git] / includes / specials / helpers / ImportReporter.php
index 0ae708a..938b159 100644 (file)
@@ -163,7 +163,7 @@ class ImportReporter extends ContextSource {
                        // Make sure the null revision will be tagged as well
                        $logEntry->setAssociatedRevId( $nullRevId );
                        if ( count( $this->logTags ) ) {
-                               $logEntry->setTags( $this->logTags );
+                               $logEntry->addTags( $this->logTags );
                        }
                        $logid = $logEntry->insert();
                        $logEntry->publish( $logid );