28 lines
656 B
Text
28 lines
656 B
Text
|
|
#!/usr/bin/perl
|
||
|
|
#
|
||
|
|
# bin/worker/import-eraser
|
||
|
|
#
|
||
|
|
# TheSchwartz worker for removing imported content.
|
||
|
|
#
|
||
|
|
# Authors:
|
||
|
|
# Mark Smith <mark@dreamwidth.org>
|
||
|
|
#
|
||
|
|
# Copyright (c) 2012 by Dreamwidth Studios, LLC.
|
||
|
|
#
|
||
|
|
# This program is free software; you may redistribute it and/or modify it under
|
||
|
|
# the same terms as Perl itself. For a copy of the license, please reference
|
||
|
|
# 'perldoc perlartistic' or 'perldoc perlgpl'.
|
||
|
|
|
||
|
|
use strict;
|
||
|
|
BEGIN {
|
||
|
|
require "$ENV{LJHOME}/cgi-bin/ljlib.pl";
|
||
|
|
}
|
||
|
|
|
||
|
|
use LJ::Worker::TheSchwartz;
|
||
|
|
use DW::Worker::ImportEraser;
|
||
|
|
|
||
|
|
schwartz_decl( $_ )
|
||
|
|
foreach (DW::Worker::ImportEraser->schwartz_capabilities);
|
||
|
|
|
||
|
|
schwartz_work(); # Never returns.
|