[vhffs-dev] [1862] Huge use cleanup |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 1862
Author: beuss
Date: 2011-06-03 12:43:41 +0200 (Fri, 03 Jun 2011)
Log Message:
-----------
Huge use cleanup
Modified Paths:
--------------
trunk/vhffs-api/src/Vhffs/Panel/Admin.pm
trunk/vhffs-api/src/Vhffs/Panel/Bazaar.pm
trunk/vhffs-api/src/Vhffs/Panel/Commons.pm
trunk/vhffs-api/src/Vhffs/Panel/Cron.pm
trunk/vhffs-api/src/Vhffs/Panel/Cvs.pm
trunk/vhffs-api/src/Vhffs/Panel/DNS.pm
trunk/vhffs-api/src/Vhffs/Panel/Git.pm
trunk/vhffs-api/src/Vhffs/Panel/Group.pm
trunk/vhffs-api/src/Vhffs/Panel/Mail.pm
trunk/vhffs-api/src/Vhffs/Panel/MailingList.pm
trunk/vhffs-api/src/Vhffs/Panel/Main.pm
trunk/vhffs-api/src/Vhffs/Panel/Mercurial.pm
trunk/vhffs-api/src/Vhffs/Panel/Mysql.pm
trunk/vhffs-api/src/Vhffs/Panel/Object.pm
trunk/vhffs-api/src/Vhffs/Panel/Pgsql.pm
trunk/vhffs-api/src/Vhffs/Panel/Repository.pm
trunk/vhffs-api/src/Vhffs/Panel/Svn.pm
trunk/vhffs-api/src/Vhffs/Panel/Tag.pm
trunk/vhffs-api/src/Vhffs/Panel/User.pm
trunk/vhffs-api/src/Vhffs/Panel/Web.pm
Modified: trunk/vhffs-api/src/Vhffs/Panel/Admin.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Admin.pm 2011-06-03 10:43:27 UTC (rev 1861)
+++ trunk/vhffs-api/src/Vhffs/Panel/Admin.pm 2011-06-03 10:43:41 UTC (rev 1862)
@@ -40,16 +40,9 @@
use base qw(Vhffs::Panel::Main);
-use DBI;
use POSIX qw(locale_h);
-use HTML::Template;
use locale;
use Locale::gettext;
-use Vhffs::User;
-use Vhffs::Main;
-use Vhffs::Acl;
-use Vhffs::Panel::Main;
-use Vhffs::Constants;
sub new {
my ($class, @args) = @_;
Modified: trunk/vhffs-api/src/Vhffs/Panel/Bazaar.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Bazaar.pm 2011-06-03 10:43:27 UTC (rev 1861)
+++ trunk/vhffs-api/src/Vhffs/Panel/Bazaar.pm 2011-06-03 10:43:41 UTC (rev 1862)
@@ -34,18 +34,11 @@
package Vhffs::Panel::Bazaar;
-use DBI;
use POSIX qw(locale_h);
-use HTML::Template;
use locale;
use Locale::gettext;
-use CGI;
-use CGI::Session;
-use Vhffs::User;
-use Vhffs::Main;
use Vhffs::Acl;
use Vhffs::Services::Bazaar;
-use Vhffs::Panel::Main;
use Vhffs::Constants;
use Vhffs::Functions;
Modified: trunk/vhffs-api/src/Vhffs/Panel/Commons.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Commons.pm 2011-06-03 10:43:27 UTC (rev 1861)
+++ trunk/vhffs-api/src/Vhffs/Panel/Commons.pm 2011-06-03 10:43:41 UTC (rev 1862)
@@ -34,7 +34,6 @@
package Vhffs::Panel::Commons;
-use DBI;
use POSIX qw(locale_h);
use locale;
use Locale::gettext;
Modified: trunk/vhffs-api/src/Vhffs/Panel/Cron.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Cron.pm 2011-06-03 10:43:27 UTC (rev 1861)
+++ trunk/vhffs-api/src/Vhffs/Panel/Cron.pm 2011-06-03 10:43:41 UTC (rev 1862)
@@ -34,17 +34,11 @@
package Vhffs::Panel::Cron;
-use DBI;
use POSIX qw(locale_h);
use locale;
use Locale::gettext;
-use CGI;
-use CGI::Session;
-use Vhffs::User;
-use Vhffs::Main;
use Vhffs::Acl;
use Vhffs::Services::Cron;
-use Vhffs::Panel::Main;
use Vhffs::Constants;
=pod
Modified: trunk/vhffs-api/src/Vhffs/Panel/Cvs.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Cvs.pm 2011-06-03 10:43:27 UTC (rev 1861)
+++ trunk/vhffs-api/src/Vhffs/Panel/Cvs.pm 2011-06-03 10:43:41 UTC (rev 1862)
@@ -34,17 +34,11 @@
package Vhffs::Panel::Cvs;
-use DBI;
use POSIX qw(locale_h);
use locale;
use Locale::gettext;
-use CGI;
-use CGI::Session;
-use Vhffs::User;
-use Vhffs::Main;
use Vhffs::Acl;
use Vhffs::Services::Cvs;
-use Vhffs::Panel::Main;
use Vhffs::Constants;
sub search
Modified: trunk/vhffs-api/src/Vhffs/Panel/DNS.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/DNS.pm 2011-06-03 10:43:27 UTC (rev 1861)
+++ trunk/vhffs-api/src/Vhffs/Panel/DNS.pm 2011-06-03 10:43:41 UTC (rev 1862)
@@ -34,15 +34,8 @@
package Vhffs::Panel::DNS;
-use DBI;
-use HTML::Template;
use locale;
use Locale::gettext;
-use CGI;
-use CGI::Session;
-use Vhffs::User;
-use Vhffs::Main;
-use Vhffs::Panel::Main;
use Vhffs::Constants;
use Vhffs::Acl;
use Vhffs::Services::DNS;
Modified: trunk/vhffs-api/src/Vhffs/Panel/Git.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Git.pm 2011-06-03 10:43:27 UTC (rev 1861)
+++ trunk/vhffs-api/src/Vhffs/Panel/Git.pm 2011-06-03 10:43:41 UTC (rev 1862)
@@ -35,18 +35,11 @@
package Vhffs::Panel::Git;
-use DBI;
use POSIX qw(locale_h);
-use HTML::Template;
use locale;
use Locale::gettext;
-use CGI;
-use CGI::Session;
-use Vhffs::User;
-use Vhffs::Main;
use Vhffs::Acl;
use Vhffs::Services::Git;
-use Vhffs::Panel::Main;
use Vhffs::Constants;
use Vhffs::Functions;
Modified: trunk/vhffs-api/src/Vhffs/Panel/Group.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Group.pm 2011-06-03 10:43:27 UTC (rev 1861)
+++ trunk/vhffs-api/src/Vhffs/Panel/Group.pm 2011-06-03 10:43:41 UTC (rev 1862)
@@ -34,15 +34,9 @@
package Vhffs::Panel::Group;
-use DBI;
use POSIX qw(locale_h);
use locale;
use Locale::gettext;
-use CGI;
-use CGI::Session;
-use Vhffs::User;
-use Vhffs::Main;
-use Vhffs::Panel::Main;
=head1 NAME
Modified: trunk/vhffs-api/src/Vhffs/Panel/Mail.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Mail.pm 2011-06-03 10:43:27 UTC (rev 1861)
+++ trunk/vhffs-api/src/Vhffs/Panel/Mail.pm 2011-06-03 10:43:41 UTC (rev 1862)
@@ -34,16 +34,9 @@
package Vhffs::Panel::Mail;
-use DBI;
use POSIX qw(locale_h);
-use HTML::Template;
use locale;
use Locale::gettext;
-use CGI;
-use CGI::Session;
-use Vhffs::User;
-use Vhffs::Main;
-use Vhffs::Panel::Main;
use Vhffs::Services::Mail;
sub search {
Modified: trunk/vhffs-api/src/Vhffs/Panel/MailingList.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/MailingList.pm 2011-06-03 10:43:27 UTC (rev 1861)
+++ trunk/vhffs-api/src/Vhffs/Panel/MailingList.pm 2011-06-03 10:43:41 UTC (rev 1862)
@@ -34,17 +34,11 @@
package Vhffs::Panel::MailingList;
-use DBI;
use POSIX qw(locale_h);
-use HTML::Template;
use locale;
use Locale::gettext;
-use CGI;
-use CGI::Session;
-use Vhffs::User;
-use Vhffs::Main;
-use Vhffs::Panel::Main;
use Vhffs::Services::MailingList;
+use Vhffs::Constants;
sub search
{
Modified: trunk/vhffs-api/src/Vhffs/Panel/Main.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Main.pm 2011-06-03 10:43:27 UTC (rev 1861)
+++ trunk/vhffs-api/src/Vhffs/Panel/Main.pm 2011-06-03 10:43:41 UTC (rev 1862)
@@ -8,7 +8,6 @@
use strict;
use utf8;
use POSIX qw(locale_h);
-use HTML::Template;
use locale;
use Locale::gettext;
use CGI;
Modified: trunk/vhffs-api/src/Vhffs/Panel/Mercurial.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Mercurial.pm 2011-06-03 10:43:27 UTC (rev 1861)
+++ trunk/vhffs-api/src/Vhffs/Panel/Mercurial.pm 2011-06-03 10:43:41 UTC (rev 1862)
@@ -36,16 +36,10 @@
use DBI;
use POSIX qw(locale_h);
-use HTML::Template;
use locale;
use Locale::gettext;
-use CGI;
-use CGI::Session;
-use Vhffs::User;
-use Vhffs::Main;
use Vhffs::Acl;
use Vhffs::Services::Mercurial;
-use Vhffs::Panel::Main;
use Vhffs::Constants;
use Vhffs::Functions;
Modified: trunk/vhffs-api/src/Vhffs/Panel/Mysql.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Mysql.pm 2011-06-03 10:43:27 UTC (rev 1861)
+++ trunk/vhffs-api/src/Vhffs/Panel/Mysql.pm 2011-06-03 10:43:41 UTC (rev 1862)
@@ -34,17 +34,12 @@
package Vhffs::Panel::Mysql;
-use DBI;
use POSIX qw(locale_h);
-use HTML::Template;
use locale;
use Locale::gettext;
-use CGI;
-use CGI::Session;
-use Vhffs::User;
-use Vhffs::Main;
-use Vhffs::Panel::Main;
use Vhffs::Services::Mysql;
+use Vhffs::Constants;
+use Vhffs::Acl;
=pod
Modified: trunk/vhffs-api/src/Vhffs/Panel/Object.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Object.pm 2011-06-03 10:43:27 UTC (rev 1861)
+++ trunk/vhffs-api/src/Vhffs/Panel/Object.pm 2011-06-03 10:43:41 UTC (rev 1862)
@@ -34,17 +34,9 @@
package Vhffs::Panel::Object;
-use DBI;
use POSIX qw(locale_h);
-use HTML::Template;
use locale;
use Locale::gettext;
-use CGI;
-use CGI::Session;
-use Vhffs::User;
-use Vhffs::Main;
-use Vhffs::Object;
-use Vhffs::Constants;
sub search
{
Modified: trunk/vhffs-api/src/Vhffs/Panel/Pgsql.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Pgsql.pm 2011-06-03 10:43:27 UTC (rev 1861)
+++ trunk/vhffs-api/src/Vhffs/Panel/Pgsql.pm 2011-06-03 10:43:41 UTC (rev 1862)
@@ -34,17 +34,11 @@
package Vhffs::Panel::Pgsql;
-use DBI;
use POSIX qw(locale_h);
-use HTML::Template;
use locale;
use Locale::gettext;
-use CGI;
-use CGI::Session;
-use Vhffs::User;
-use Vhffs::Main;
use Vhffs::Constants;
-use Vhffs::Panel::Main;
+use Vhffs::Acl;
use Vhffs::Services::Pgsql;
Modified: trunk/vhffs-api/src/Vhffs/Panel/Repository.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Repository.pm 2011-06-03 10:43:27 UTC (rev 1861)
+++ trunk/vhffs-api/src/Vhffs/Panel/Repository.pm 2011-06-03 10:43:41 UTC (rev 1862)
@@ -34,17 +34,11 @@
package Vhffs::Panel::Repository;
-use DBI;
use POSIX qw(locale_h);
use locale;
use Locale::gettext;
-use CGI;
-use CGI::Session;
-use Vhffs::User;
-use Vhffs::Main;
use Vhffs::Acl;
use Vhffs::Services::Repository;
-use Vhffs::Panel::Main;
use Vhffs::Constants;
=pod
Modified: trunk/vhffs-api/src/Vhffs/Panel/Svn.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Svn.pm 2011-06-03 10:43:27 UTC (rev 1861)
+++ trunk/vhffs-api/src/Vhffs/Panel/Svn.pm 2011-06-03 10:43:41 UTC (rev 1862)
@@ -36,16 +36,10 @@
use DBI;
use POSIX qw(locale_h);
-use HTML::Template;
use locale;
use Locale::gettext;
-use CGI;
-use CGI::Session;
-use Vhffs::User;
-use Vhffs::Main;
use Vhffs::Acl;
use Vhffs::Services::Svn;
-use Vhffs::Panel::Main;
use Vhffs::Constants;
use Vhffs::Functions;
Modified: trunk/vhffs-api/src/Vhffs/Panel/Tag.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Tag.pm 2011-06-03 10:43:27 UTC (rev 1861)
+++ trunk/vhffs-api/src/Vhffs/Panel/Tag.pm 2011-06-03 10:43:41 UTC (rev 1862)
@@ -37,6 +37,7 @@
use POSIX qw(locale_h);
use locale;
use Locale::gettext;
+use Vhffs::Constants;
use Vhffs::Panel::Group;
=head1 NAME
Modified: trunk/vhffs-api/src/Vhffs/Panel/User.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/User.pm 2011-06-03 10:43:27 UTC (rev 1861)
+++ trunk/vhffs-api/src/Vhffs/Panel/User.pm 2011-06-03 10:43:41 UTC (rev 1862)
@@ -38,11 +38,8 @@
use POSIX qw(locale_h);
use locale;
use Locale::gettext;
-use Encode;
-use Vhffs::User;
-use Vhffs::Main;
-use Vhffs::Panel::Main;
+use Vhffs::Constants;
=pod
Modified: trunk/vhffs-api/src/Vhffs/Panel/Web.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Web.pm 2011-06-03 10:43:27 UTC (rev 1861)
+++ trunk/vhffs-api/src/Vhffs/Panel/Web.pm 2011-06-03 10:43:41 UTC (rev 1862)
@@ -36,17 +36,12 @@
use DBI;
use POSIX qw(locale_h);
-use HTML::Template;
use locale;
use Locale::gettext;
-use CGI;
-use CGI::Session;
-use Vhffs::User;
-use Vhffs::Main;
-use Vhffs::Panel::Main;
use Vhffs::Services::Web;
use Vhffs::Constants;
use Vhffs::Functions;
+use Vhffs::Acl;
=pod