Minor - format code.
Minor - format code.
Removing function_exists('array_search') code.
Removing unused file.
Minor - cleaning code, format code.
Fixes #6860
Minor - format code.