[vhffs-dev] [1809] Oops, forgot to use new Admin panel class |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 1809
Author: beuss
Date: 2011-05-25 13:18:26 +0200 (Wed, 25 May 2011)
Log Message:
-----------
Oops, forgot to use new Admin panel class
Modified Paths:
--------------
trunk/vhffs-panel/admin/git/list.pl
Modified: trunk/vhffs-panel/admin/git/list.pl
===================================================================
--- trunk/vhffs-panel/admin/git/list.pl 2011-05-25 11:18:19 UTC (rev 1808)
+++ trunk/vhffs-panel/admin/git/list.pl 2011-05-25 11:18:26 UTC (rev 1809)
@@ -35,13 +35,10 @@
use Locale::gettext;
use lib '%VHFFS_LIB_DIR%';
-use Vhffs::Panel::Main;
+use Vhffs::Panel::Admin;
use Vhffs::Panel::Git;
-my $panel = new Vhffs::Panel::Main();
-exit 0 unless $panel;
-my $session = $panel->get_session;
-exit 0 unless $session;
+my $panel = new Vhffs::Panel::Admin();
my $vhffs = $panel->{'vhffs'};
my $cgi = $panel->{'cgi'};