[vhffs-dev] [515] API coherence

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 515
Author:   beuss
Date:     2007-03-20 15:44:17 +0000 (Tue, 20 Mar 2007)

Log Message:
-----------
API coherence

Modified Paths:
--------------
    branches/vhffs_4.1/vhffs-api/src/Vhffs/Services/Cvs.pm
    branches/vhffs_4.1/vhffs-api/src/Vhffs/Services/Httpd.pm
    branches/vhffs_4.1/vhffs-api/src/Vhffs/Services/Mail.pm
    branches/vhffs_4.1/vhffs-api/src/Vhffs/Services/Mysql.pm
    branches/vhffs_4.1/vhffs-api/src/Vhffs/Services/Postgres.pm


Modified: branches/vhffs_4.1/vhffs-api/src/Vhffs/Services/Cvs.pm
===================================================================
--- branches/vhffs_4.1/vhffs-api/src/Vhffs/Services/Cvs.pm	2007-03-19 20:30:41 UTC (rev 514)
+++ branches/vhffs_4.1/vhffs-api/src/Vhffs/Services/Cvs.pm	2007-03-20 15:44:17 UTC (rev 515)
@@ -311,7 +311,7 @@
     my $request;
     my @params;
 
-    my $objs;
+    my $objs = [];
     my $result;
     my $tmp;
 

Modified: branches/vhffs_4.1/vhffs-api/src/Vhffs/Services/Httpd.pm
===================================================================
--- branches/vhffs_4.1/vhffs-api/src/Vhffs/Services/Httpd.pm	2007-03-19 20:30:41 UTC (rev 514)
+++ branches/vhffs_4.1/vhffs-api/src/Vhffs/Services/Httpd.pm	2007-03-20 15:44:17 UTC (rev 515)
@@ -281,7 +281,7 @@
     my @params;
     my $sth;
 
-    my $objs;
+    my $objs = [];
     my $result;
     my $tmp;
 

Modified: branches/vhffs_4.1/vhffs-api/src/Vhffs/Services/Mail.pm
===================================================================
--- branches/vhffs_4.1/vhffs-api/src/Vhffs/Services/Mail.pm	2007-03-19 20:30:41 UTC (rev 514)
+++ branches/vhffs_4.1/vhffs-api/src/Vhffs/Services/Mail.pm	2007-03-20 15:44:17 UTC (rev 515)
@@ -651,7 +651,7 @@
     my $request;
     my @params;
 
-    my $objs;
+    my $objs = [];
     my $result;
     my $tmp;
 

Modified: branches/vhffs_4.1/vhffs-api/src/Vhffs/Services/Mysql.pm
===================================================================
--- branches/vhffs_4.1/vhffs-api/src/Vhffs/Services/Mysql.pm	2007-03-19 20:30:41 UTC (rev 514)
+++ branches/vhffs_4.1/vhffs-api/src/Vhffs/Services/Mysql.pm	2007-03-20 15:44:17 UTC (rev 515)
@@ -302,7 +302,7 @@
 {
 	my ($vhffs, $state, $name, $group) = @_;
 
-    my $mysql;
+    my $mysql = [];
     my @params;
    
     my $sql = 'SELECT m.mysql_id, m.owner_gid, m.dbname, m.dbuser, m.dbpass, o.object_id, o.owner_uid, o.date_creation, o.state, o.description FROM vhffs_mysql m, vhffs_object o WHERE m.object_id = o.object_id';

Modified: branches/vhffs_4.1/vhffs-api/src/Vhffs/Services/Postgres.pm
===================================================================
--- branches/vhffs_4.1/vhffs-api/src/Vhffs/Services/Postgres.pm	2007-03-19 20:30:41 UTC (rev 514)
+++ branches/vhffs_4.1/vhffs-api/src/Vhffs/Services/Postgres.pm	2007-03-20 15:44:17 UTC (rev 515)
@@ -315,7 +315,7 @@
 {
     my ($vhffs, $state, $name, $group) = @_;
 
-    my $postgres;
+    my $postgres = [];
     my @params;
 
     my $sql = 'SELECT p.pgsql_id, p.owner_gid, p.dbname, p.dbuser, p.dbpass, o.object_id, o.owner_uid, o.date_creation, o.state, o.description FROM vhffs_pgsql p, vhffs_object o WHERE p.object_id = o.object_id';


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/