summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/pfsense-utils.inc
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2017-03-05 16:27:11 +0100
committerGitHub <noreply@github.com>2017-03-05 16:27:11 +0100
commitf11ac397a0fcace6aad43850b11f0e939a2e78ff (patch)
tree35299cb9d4f2e42ae79b8bc53f49188740aeb778 /src/etc/inc/pfsense-utils.inc
parentfc970ca2967ef4250925cd44a8dd0acee18078c0 (diff)
downloadpfsense-f11ac397a0fcace6aad43850b11f0e939a2e78ff.zip
pfsense-f11ac397a0fcace6aad43850b11f0e939a2e78ff.tar.gz
Remove no longer needed split() re-implementation
Diffstat (limited to 'src/etc/inc/pfsense-utils.inc')
-rw-r--r--src/etc/inc/pfsense-utils.inc8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/etc/inc/pfsense-utils.inc b/src/etc/inc/pfsense-utils.inc
index 8bbd3f3..da8c9f7 100644
--- a/src/etc/inc/pfsense-utils.inc
+++ b/src/etc/inc/pfsense-utils.inc
@@ -2034,14 +2034,6 @@ function update_progress_bar($percent, $first_time) {
}
}
-/* Split() is being DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 6.0.0. Relying on this feature is highly discouraged. */
-if (!function_exists("split")) {
- function split($separator, $haystack, $limit = null) {
- log_error("deprecated split() call with separator '{$separator}'");
- return preg_split($separator, $haystack, $limit);
- }
-}
-
function update_alias_names_upon_change($section, $field, $new_alias_name, $origname) {
global $g, $config, $pconfig, $debug;
if (!$origname) {
OpenPOWER on IntegriCloud