File: expired_delete.pl

package info (click to toggle)
pnopaste 1.5-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 324 kB
  • ctags: 60
  • sloc: perl: 1,053; sh: 55; sql: 37; makefile: 6
file content (25 lines) | stat: -rwxr-xr-x 604 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/perl

# This file is part of the pnopaste program
# Copyright (C) 2008-2013 Patrick Matthäi <pmatthaei@debian.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.

use warnings;
use strict;

# Distribution mode. Just uncomment the following lines
# if you are a packager!
use FindBin qw($Bin);
BEGIN {
	push(@INC, $Bin . '/../');
}

use lib::Expire;

Expire::Delete_Old_Entrys();

exit(0);