From 326f2eae634a8ad64c03c26cdb8050a530aae342 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 3 Jul 2008 07:11:48 +0000 Subject: [PATCH] Added is_connected() function to gosaSupportDaemon class. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11517 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_gosaSupportDaemon.inc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gosa-core/include/class_gosaSupportDaemon.inc b/gosa-core/include/class_gosaSupportDaemon.inc index 6c1fd8960..1f0ace96d 100644 --- a/gosa-core/include/class_gosaSupportDaemon.inc +++ b/gosa-core/include/class_gosaSupportDaemon.inc @@ -84,6 +84,16 @@ class gosaSupportDaemon return($this->is_connected); } + + /*! \brief Returns TRUE whether we are connected or not + @return BOOLEAN Returns TRUE when connected else FALSE + */ + public function is_connected() + { + return($this->is_connected); + } + + /*! \brief Disconnect from gosa daemon. */ -- 2.30.2