Subject: Bug#267: x2golistsessions - import db_changestatus into main namespace

From: Mike Gabriel <[email-masked]>
Date: Tue, 23 Jul 2013 22:23:54 +0200

Package: x2goserver
Version: 4.1.0.0
Tag: patch

----- Weitergeleitete Nachricht von [email-masked] -----
      Datum: Tue, 23 Jul 2013 20:43:41 +0200
        Von: Rok Mandeljc <[email-masked]>
Antwort an: [email-masked]
    Betreff: [X2Go-Dev] Patch: x2golistsessions - import  
db_changestatus into main namespace
         An: [email-masked]

Hello,

at some point while trying to set up x2goserver from git on my Fedora  
19 box, I came across the issue when x2golistsessions would bail out  
with error message about db_changestatus not being found. It would  
appear that the function is indeed missing from the import statement.  
Patch attached.

Regards,
  Rok

----- Ende der weitergeleiteten Nachricht -----

-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: [email-masked], http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
>From a0acba06691749711560d88d278af524610db0a5 Mon Sep 17 00:00:00 2001
From: Rok Mandeljc <[email-masked]>
Date: Tue, 23 Jul 2013 20:31:50 +0200
Subject: [PATCH 1/2] x2golistsessions: import db_changestatus into main
 namespace

---
 x2goserver/bin/x2golistsessions | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x2goserver/bin/x2golistsessions b/x2goserver/bin/x2golistsessions
index 9d8a0bf..46ac0c6 100755
--- a/x2goserver/bin/x2golistsessions
+++ b/x2goserver/bin/x2golistsessions
@@ -24,7 +24,7 @@ use strict;
 use Sys::Hostname;
 use Sys::Syslog qw( :standard :macros );
 
-use X2Go::Server::DB qw(db_listsessions db_listsessions_all);
+use X2Go::Server::DB qw(db_listsessions db_listsessions_all db_changestatus);
 use X2Go::Log qw(loglevel);
 
 openlog($0,'cons,pid','user');
-- 
1.8.3.1