Avoid usage of deprecated setTags() method, use addTags() instead
[lhc/web/wiklou.git] / includes / revisiondelete / RevDelList.php
index 680ae8e..dc43aed 100644 (file)
@@ -394,7 +394,7 @@ abstract class RevDelList extends RevisionListBase {
                }
                $logEntry->setRelations( $relations );
                // Apply change tags to the log entry
-               $logEntry->setTags( $params['tags'] );
+               $logEntry->addTags( $params['tags'] );
                $logId = $logEntry->insert();
                $logEntry->publish( $logId );
        }