From 918f506219daf896c6cb8c054fbaead95cb70d44 Mon Sep 17 00:00:00 2001 From: Pasqualino Ferrentino Date: Thu, 18 Oct 2007 11:47:27 +0200 Subject: [PATCH] Now the disconnect works (it was simply a stub) --- web-site/breadcrumbs/lib/breadcrumbs/Model/BcdModel.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web-site/breadcrumbs/lib/breadcrumbs/Model/BcdModel.pm b/web-site/breadcrumbs/lib/breadcrumbs/Model/BcdModel.pm index 1cda873..a994650 100644 --- a/web-site/breadcrumbs/lib/breadcrumbs/Model/BcdModel.pm +++ b/web-site/breadcrumbs/lib/breadcrumbs/Model/BcdModel.pm @@ -105,7 +105,8 @@ sub login{ } sub logout{ - return 0; #to do.... + my ($self, $session) = @_; + return $self->_issue_command_to_daemon("sv.disconnect", $session); } sub get_ant_nest_detail{ -- 2.11.4.GIT