From 9c065c7da23906246fbd3d959c5d2fa4870db051 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Roland=20H=C3=A4der?= <roland@mxchange.org>
Date: Thu, 17 May 2012 10:28:01 +0000
Subject: [PATCH] Added missing method readSelfConnectData()

---
 .../class_XmlSelfConnectTemplateEngine.php        | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/application/hub/main/template/connect/class_XmlSelfConnectTemplateEngine.php b/application/hub/main/template/connect/class_XmlSelfConnectTemplateEngine.php
index 20d69b3fb..0908b9e7f 100644
--- a/application/hub/main/template/connect/class_XmlSelfConnectTemplateEngine.php
+++ b/application/hub/main/template/connect/class_XmlSelfConnectTemplateEngine.php
@@ -287,6 +287,21 @@ class XmlSelfConnectTemplateEngine extends BaseTemplateEngine implements Compile
 		} // END - if
 	}
 
+	/**
+	 * Read self-connect variables by calling readVariable() with 'general' as
+	 * variable stack.
+	 *
+	 * @param	$key	Key to read from
+	 * @return	$value	Value from variable
+	 */
+	public function readSelfConnectData ($key) {
+		// Read the variable
+		$value = parent::readVariable($key, 'general');
+
+		// Return value
+		return $value;
+	}
+
 	/**
 	 * Getter for cache file (FQFN)
 	 *
-- 
2.39.5