Skip to content

Commit

Permalink
Remove duplicate entry code
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick477 authored Jul 9, 2018
1 parent 78217a4 commit 3edba03
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Resources/config/validation/Media.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ BitBag\SyliusCmsPlugin\Entity\Media:
minMessage: 'bitbag_sylius_cms_plugin.media.code.min_length'
maxMessage: 'bitbag_sylius_cms_plugin.media.code.max_length'
groups: ['bitbag']
code:
- NotBlank:
groups: ['bitbag']
file:
- Expression:
expression: '!(this.getPath() == null and this.getFile() == null)'
Expand Down

0 comments on commit 3edba03

Please sign in to comment.