* @return Status
* @since 1.25
*/
- public static function addTagsAccompanyingChangeWithChecks( array $tags,
- $rc_id, $rev_id, $log_id, $params, User $user ) {
+ public static function addTagsAccompanyingChangeWithChecks(
+ array $tags, $rc_id, $rev_id, $log_id, $params, User $user
+ ) {
// are we allowed to do this?
$result = self::canAddTagsAccompanyingChange( $tags, $user );
}
// do it!
- self::addTags( $tagsToAdd, $rc_id, $rev_id, $log_id, $params );
+ self::addTags( $tags, $rc_id, $rev_id, $log_id, $params );
return Status::newGood( true );
}