diff --git a/lib/CPAN/Forum.pm b/lib/CPAN/Forum.pm index 41510de..6f98aa3 100644 --- a/lib/CPAN/Forum.pm +++ b/lib/CPAN/Forum.pm @@ -593,7 +593,6 @@ sub cgiapp_prerun { ); $self->tt_params( - "test_site_warning" => (-e $self->param("ROOT") . "/config_test_site"), "dev_server" => ( $ENV{CPAN_FORUM_DEV} ? 1 : 0 ), ); @@ -935,7 +934,6 @@ sub load_tmpl { ); $t->param( "loggedin" => $self->session->param("loggedin") || "" ); $t->param( "username" => $self->session->param("username") || "anonymous" ); - $t->param( "test_site_warning" => -e $self->param("ROOT") . "/config_test_site" ); $t->param( "admin" => $self->session->param('admin') ); $t->param( "dev_server" => ( $ENV{CPAN_FORUM_DEV} ? 1 : 0 ) ); return $t; diff --git a/tt/incl/header.tt b/tt/incl/header.tt index 0c94fe7..588eef5 100644 --- a/tt/incl/header.tt +++ b/tt/incl/header.tt @@ -11,11 +11,7 @@ -[% IF test_site_warning %] -

Warning: this is a test site, the data here will be deleted.
-For real use, please visit the the live site.

-[% END %] - +

[% pagetitle %]

diff --git a/tt/pages/popup/modules_with_tags.tt b/tt/pages/popup/modules_with_tags.tt index 8ff5d37..4a54726 100644 --- a/tt/pages/popup/modules_with_tags.tt +++ b/tt/pages/popup/modules_with_tags.tt @@ -12,11 +12,6 @@ function show(url) { [% IF loggedin %]You are logged in to CPAN::Forum as [% username %][% END %] [% IF admin %][% END %] -[% IF test_site_warning %] -

Warning: this is a test site, the data here will be deleted.

-[% END %] - -

Modules with tag [% tag %]