Skip to content

Commit

Permalink
Merge pull request #58 from slub/fix-44
Browse files Browse the repository at this point in the history
Remove double check for valid registration
  • Loading branch information
Alexander Bigga authored Feb 27, 2021
2 parents 72dece2 + cbcf3e0 commit aa10cfc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
7 changes: 0 additions & 7 deletions Classes/Domain/Validator/SubscriberValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,6 @@ public function isValid($newSubscriber)
) {
$this->addError('val_number', 1120);
$this->isValid = false;
} else {
$event = $newSubscriber->getEvent();
// limit reached already --> overbooked
if ($this->subscriberRepository->countAllByEvent($event) + $newSubscriber->getNumber() > $event->getMaxSubscriber()) {
$this->addError('val_number', 1130);
$this->isValid = false;
}
}
$currentSessionData = $this->getSessionData('editcode');
if ($newSubscriber->getEditcode() != $this->getSessionData('editcode')) {
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
],
"license": "GPL-3.0-or-later",
"require": {
"typo3/cms-core": "~9.5.20|~10.4.6"
"typo3/cms-core": "~9.5.24|~10.4.12"
},
"autoload": {
"psr-4": {
Expand Down
4 changes: 2 additions & 2 deletions ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
'modify_tables' => '',
'clearCacheOnLoad' => 0,
'lockType' => '',
'version' => '5.0.1',
'version' => '5.0.2',
'constraints' => [
'depends' => [
'typo3' => '9.5.0-10.4.99',
'typo3' => '9.5.24-10.4.99',
],
'conflicts' => [
],
Expand Down

0 comments on commit aa10cfc

Please sign in to comment.