mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-28 03:29:18 +00:00
The array_type function has been moved
This commit is contained in:
@@ -39,15 +39,6 @@
|
||||
$language = new text;
|
||||
$text = $language->get();
|
||||
|
||||
//determine the typ of array
|
||||
function array_type(array $array): string {
|
||||
$result = count($array, COUNT_RECURSIVE) > count($array);
|
||||
if ($result) {
|
||||
return 'multi';
|
||||
}
|
||||
return 'single';
|
||||
}
|
||||
|
||||
//set defaults
|
||||
$recording_name = '';
|
||||
$recording_message = '';
|
||||
|
||||
Reference in New Issue
Block a user