aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Youri/Submit/Check/Recency.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Youri/Submit/Check/Recency.pm b/lib/Youri/Submit/Check/Recency.pm
index 04994b8..1724f34 100644
--- a/lib/Youri/Submit/Check/Recency.pm
+++ b/lib/Youri/Submit/Check/Recency.pm
@@ -35,6 +35,11 @@ sub run {
my $defined_section = $define->{section};
+ #FIXME We only search requested section to allow manual upload to multiple sections
+ # until the code handles it.
+
+ return @errors;
+
# if the user provided a section, check also in the default section
if ($defined_section) {
$define->{section} = undef;