From 452631644f568f75e8e7f9b524c50e807c714abe Mon Sep 17 00:00:00 2001 From: bernhard Date: Mon, 14 Mar 2022 18:03:46 +0100 Subject: [PATCH 1/2] Issue #15: remove the obsolete redirect scripts --- FAQ.sopm | 2 -- bin/cgi-bin/faq.pl | 32 -------------------------------- 2 files changed, 34 deletions(-) delete mode 100644 bin/cgi-bin/faq.pl diff --git a/FAQ.sopm b/FAQ.sopm index 0eed352..4695317 100644 --- a/FAQ.sopm +++ b/FAQ.sopm @@ -303,8 +303,6 @@ $Kernel::OM->Get($CodeModule)->CodeReinstall(); - - diff --git a/bin/cgi-bin/faq.pl b/bin/cgi-bin/faq.pl deleted file mode 100644 index 58d2d57..0000000 --- a/bin/cgi-bin/faq.pl +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/perl -# -- -# OTOBO is a web-based ticketing system for service organisations. -# -- -# Copyright (C) 2001-2019 OTRS AG, https://otrs.com/ -# Copyright (C) 2019-2020 Rother OSS GmbH, https://otobo.de/ -# -- -# 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 3 of the License, or (at your option) any later version. -# This program is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . -# -- - -use strict; -use warnings; - -# Use ../../ as lib location. -use FindBin qw($Bin); -use lib "$Bin/../.."; -use lib "$Bin/../../Kernel/cpan-lib"; -use lib "$Bin/../../Custom"; - -# 0=off;1=on; -my $Debug = 0; - -print "location: public.pl?Action=PublicFAQExplorer\n"; -print "\n"; -print "moved\n"; From cd4efaad762baf1b786889b91c1e8652a1c0a5fd Mon Sep 17 00:00:00 2001 From: bernhard Date: Mon, 14 Mar 2022 18:06:00 +0100 Subject: [PATCH 2/2] Issue #15: also remove faq.fpl --- bin/fcgi-bin/faq.fpl | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 bin/fcgi-bin/faq.fpl diff --git a/bin/fcgi-bin/faq.fpl b/bin/fcgi-bin/faq.fpl deleted file mode 100644 index 90b3115..0000000 --- a/bin/fcgi-bin/faq.fpl +++ /dev/null @@ -1,41 +0,0 @@ -#!/usr/bin/perl -# -- -# faq.pl - the global CGI handle file for OTOBO -# Copyright (C) 2001-2012 Rother OSS GmbH, http://otobo.org/ -# -- -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU AFFERO General Public License as published by -# the Free Software Foundation; either version 3 of the License, or -# any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# or see http://www.gnu.org/licenses/agpl.txt. -# -- - -use strict; -use warnings; - -# Use ../../ as lib location. -use FindBin qw($Bin); -use lib "$Bin/../.."; -use lib "$Bin/../../Kernel/cpan-lib"; -use lib "$Bin/../../Custom"; - -use vars qw(@INC); - -# 0=off;1=on; -my $Debug = 0; - -# Check @INC for mod_perl (add lib path for "require module"!). -push (@INC, "$Bin/../..", "$Bin/../../Kernel/cpan-lib"); - -print "location: public.fpl?Action=PublicFAQExplorer\n"; -print "\n"; -print "moved\n";