summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Schneider2011-04-05 15:26:56 +0000
committerChristian Schneider2011-04-05 15:26:56 +0000
commit25bad1101a8708e259ba7e6204b099ce5cc0bb46 (patch)
treedd4725602c7456f76d585d424924c369d7c9140a
parented3cb998879f544de6cc7ad2629a409d320ada35 (diff)
downloaditools-25bad1101a8708e259ba7e6204b099ce5cc0bb46.tar.gz
itools-25bad1101a8708e259ba7e6204b099ce5cc0bb46.tar.bz2
itools-25bad1101a8708e259ba7e6204b099ce5cc0bb46.zip
Removed obsolete (and unused) parameter setcookie
-rw-r--r--auto_prepend.php5
1 files changed, 2 insertions, 3 deletions
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);
}
/**