From 25bad1101a8708e259ba7e6204b099ce5cc0bb46 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Tue, 5 Apr 2011 15:26:56 +0000 Subject: Removed obsolete (and unused) parameter setcookie --- auto_prepend.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'auto_prepend.php') diff --git a/auto_prepend.php b/auto_prepend.php index 09092ca..e9e6990 100644 --- a/auto_prepend.php +++ b/auto_prepend.php @@ -94,12 +94,11 @@ function ET($label, $values = null, $language = null) /** * Change language * @param $language New language to set - * @param $setcookie Optional flag if a cookie is to be set (default: true) */ -function T_set_language($language, $setcookie = true) +function T_set_language($language) { it_text::init(); - return $GLOBALS['it_text']->set_language($language, $setcookie); + return $GLOBALS['it_text']->set_language($language); } /** -- cgit v1.2.3