mirror of
https://github.com/webmin/webmin.git
synced 2026-10-24 05:00:40 +01:00
16 lines
434 B
Perl
Executable File
16 lines
434 B
Perl
Executable File
#!/usr/local/bin/perl
|
|
# Removes one database from the current user's recently opened list.
|
|
|
|
use strict;
|
|
use warnings;
|
|
no warnings 'redefine';
|
|
no warnings 'uninitialized';
|
|
our (%in);
|
|
require './sqlite-lib.pl';
|
|
&ReadParse();
|
|
|
|
# The path only names an entry in this user's own list, which stores the
|
|
# resolved path, so it is matched as given and needs no ACL check.
|
|
&sqlite_forget_recent($in{'db'}) if ($in{'db'} ne '');
|
|
&redirect('');
|