Skip to content

Commit

Permalink
Merge pull request #104 from Iliain/master
Browse files Browse the repository at this point in the history
Replace ClassName usage with text
  • Loading branch information
Nathan authored Oct 20, 2020
2 parents 13471b6 + 84146ac commit fb37705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Admin/MultisitesCmsMainExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function updateEditForm($form) {
$className = $classNameField->Value();
if ($className === Site::class)
{
$form->Fields()->removeByName(array(SilverStripeNavigator::class));
$form->Fields()->removeByName(['SilverStripeNavigator']);
$form->removeExtraClass('cms-previewable');
}
}
Expand Down

4 comments on commit fb37705

@xini
Copy link
Contributor

@xini xini commented on fb37705 Dec 11, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @nglasl can we please get this tagged as a release? Cheers

@nglasl
Copy link
Contributor

@nglasl nglasl commented on fb37705 Dec 16, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xini I've just created 5.2.6 for this.

@xini
Copy link
Contributor

@xini xini commented on fb37705 Dec 16, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nglasl great, thanks!

@nglasl
Copy link
Contributor

@nglasl nglasl commented on fb37705 Dec 16, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a problem 😄

Please sign in to comment.