From ca62110b9ec5e7f5157aa34dd0fc48b2c3f24a73 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 31 Jan 2013 16:24:12 +0000 Subject: declare functions static --- it_text.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_text.class') diff --git a/it_text.class b/it_text.class index 57dfda5..7b47e92 100644 --- a/it_text.class +++ b/it_text.class @@ -115,7 +115,7 @@ function initlang($code) /** * Instanciate singleton if necessary */ -function init() +static function init() { if (!$GLOBALS['it_text']) new it_text; -- cgit v1.2.3