summaryrefslogtreecommitdiff
path: root/auto_prepend.php
diff options
context:
space:
mode:
Diffstat (limited to 'auto_prepend.php')
-rw-r--r--auto_prepend.php12
1 files changed, 2 insertions, 10 deletions
diff --git a/auto_prepend.php b/auto_prepend.php
index 19108fb..8d0a94e 100644
--- a/auto_prepend.php
+++ b/auto_prepend.php
@@ -63,8 +63,8 @@ function EDX(...$args)
* Return a text in the selected language
* Replaces variables of the form {var} with quoted values from argument $values
* @param $label Label of text to return
- * @param $language Optional value array or language string (will be sent through Q())
- * @param $values Optional value array or language string (will be sent through Q())
+ * @param $language Optional value array (will be sent through Q()) or language string
+ * @param $values Optional value array (will be sent through Q()) or language string
* @return Localized text string
*/
function T($label, $language = null, $values = null)
@@ -177,14 +177,6 @@ function debug($text, $level=0)
}
/**
- * Convert a htmlentities-encoded string back to normal
- */
-function it_htmlentities_decode($string)
-{
- return strtr($string, array_flip(get_html_translation_table(HTML_ENTITIES)));
-}
-
-/**
* Clone an object and return copy, works for all PHP versions
*/
function &it_clone(&$object)