aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorMáté Bartus <mate.bartus@gmail.com>2016-04-06 21:01:41 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-05-06 21:26:55 +0200
commit7a831c3e2844c94feb5fea2a4710816c5024623a (patch)
tree23d6ec523133fb34bbd375411112af10f2fba8db /phpBB/includes/functions.php
parent61bdccbfd804c6638e977d250f6e9a0f30aa5f98 (diff)
downloadforums-7a831c3e2844c94feb5fea2a4710816c5024623a.tar
forums-7a831c3e2844c94feb5fea2a4710816c5024623a.tar.gz
forums-7a831c3e2844c94feb5fea2a4710816c5024623a.tar.bz2
forums-7a831c3e2844c94feb5fea2a4710816c5024623a.tar.xz
forums-7a831c3e2844c94feb5fea2a4710816c5024623a.zip
[ticket/14548] Move deprecated globals and functions
PHPBB3-14584
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 5234c3472d..44c51eb1ad 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -52,18 +52,6 @@ function phpbb_load_extensions_autoloaders($phpbb_root_path)
}
/**
-* Casts a variable to the given type.
-*
-* @deprecated
-*/
-function set_var(&$result, $var, $type, $multibyte = false)
-{
- // no need for dependency injection here, if you have the object, call the method yourself!
- $type_cast_helper = new \phpbb\request\type_cast_helper();
- $type_cast_helper->set_var($result, $var, $type, $multibyte);
-}
-
-/**
* Generates an alphanumeric random string of given length
*
* @param int $num_chars Length of random string, defaults to 8.