@@ 63-68 (lines=6) @@ | ||
60 | ||
61 | // If change tagging was requested, check that the user is allowed to tag, |
|
62 | // and the tags are valid |
|
63 | if ( count( $params['tags'] ) ) { |
|
64 | $tagStatus = ChangeTags::canAddTagsAccompanyingChange( $params['tags'], $user ); |
|
65 | if ( !$tagStatus->isOK() ) { |
|
66 | $this->dieStatus( $tagStatus ); |
|
67 | } |
|
68 | } |
|
69 | ||
70 | if ( $titleObj->getNamespace() == NS_FILE ) { |
|
71 | $status = self::deleteFile( |
@@ 55-60 (lines=6) @@ | ||
52 | ||
53 | // If change tagging was requested, check that the user is allowed to tag, |
|
54 | // and the tags are valid |
|
55 | if ( count( $params['tags'] ) ) { |
|
56 | $tagStatus = ChangeTags::canAddTagsAccompanyingChange( $params['tags'], $user ); |
|
57 | if ( !$tagStatus->isOK() ) { |
|
58 | $this->dieStatus( $tagStatus ); |
|
59 | } |
|
60 | } |
|
61 | ||
62 | $retval = $pageObj->doRollback( |
|
63 | $this->getRbUser( $params ), |