[vhffs-dev] [1721] Why should gradator be the only one with oups commits? |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 1721
Author: beuss
Date: 2011-05-14 10:15:37 +0200 (Sat, 14 May 2011)
Log Message:
-----------
Why should gradator be the only one with oups commits?
Forgot to remove all HTML::Template related use & variables.
Modified Paths:
--------------
trunk/vhffs-panel/user/prefs.pl
Modified: trunk/vhffs-panel/user/prefs.pl
===================================================================
--- trunk/vhffs-panel/user/prefs.pl 2011-05-14 08:13:08 UTC (rev 1720)
+++ trunk/vhffs-panel/user/prefs.pl 2011-05-14 08:15:37 UTC (rev 1721)
@@ -32,7 +32,6 @@
use strict;
use utf8;
use POSIX qw(locale_h);
-use HTML::Template;
use locale;
use Locale::gettext;
use CGI;
@@ -56,9 +55,6 @@
my $cgi = $panel->{cgi};
my $vhffs = $panel->{vhffs};
-my $maintemplate = $panel->{template};
-my $templatedir = $panel->{templatedir};
-my $template;
my $user = $panel->{user};
my $userp;
my $vars = {};
@@ -316,7 +312,6 @@
my @themes = Vhffs::Panel::Main::list_themes( $vhffs );
$vars->{themes} = \@themes;
$vars->{current_theme} = Vhffs::Panel::User::get_theme( $userp );
- $template = new Vhffs::Panel::Template( filename => $templatedir."/panel/user/prefs.tmpl" );
$vars->{user_help_url} = $vhffs->get_config->get_users()->{url_doc};