summaryrefslogtreecommitdiff
path: root/mark_completed.pl
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@wirdorange.org>2011-03-31 19:05:23 +0000
committerOthmar Gsenger <otti@wirdorange.org>2011-03-31 19:05:23 +0000
commitd26fa8c1e0886c813de5364ee6570c860c6ce12c (patch)
tree418120693100150b0443d3d880f945aaa45a0d22 /mark_completed.pl
parentadded support for browsing by category (diff)
hopfully repaired this after backup loss
Diffstat (limited to 'mark_completed.pl')
-rwxr-xr-xmark_completed.pl8
1 files changed, 0 insertions, 8 deletions
diff --git a/mark_completed.pl b/mark_completed.pl
deleted file mode 100755
index f456011..0000000
--- a/mark_completed.pl
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/usr/bin/perl
-use strict;
-use local::db;
-my $dl_id = $ARGV[0] or die "missing argument download id";
-my $dl = local::db::download->retrieve($dl_id) or die 'cannont find download';
-$dl->completed(1);
-$dl->update;
-exit 0;