aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Youri
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2011-05-22 21:33:46 +0000
committerPascal Terjan <pterjan@mageia.org>2011-05-22 21:33:46 +0000
commitb964e695b5ace61834632e5a36e6dd1b9329f5a1 (patch)
tree296db40f08d9956512e1c877c0f2f0261ff3ac4f /lib/Youri
parent7439fb1b11e78750a092a8ce2218a0aa8d6e7176 (diff)
downloadmga-youri-submit-b964e695b5ace61834632e5a36e6dd1b9329f5a1.tar
mga-youri-submit-b964e695b5ace61834632e5a36e6dd1b9329f5a1.tar.gz
mga-youri-submit-b964e695b5ace61834632e5a36e6dd1b9329f5a1.tar.bz2
mga-youri-submit-b964e695b5ace61834632e5a36e6dd1b9329f5a1.tar.xz
mga-youri-submit-b964e695b5ace61834632e5a36e6dd1b9329f5a1.zip
Temporary hack to allow manual upload into multiple sections
Diffstat (limited to 'lib/Youri')
-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;