Task #13308

Make array_search_case_insensitive a static method rather than globally available

Added by Mike Cantelon 3 months ago. Updated 3 months ago.

Status:NewStart date:05/04/2020
Priority:LowDue date:
Assignee:Mike Cantelon% Done:

0%

Category:-
Target version:-
Google Code Legacy ID: Tested version:
Sponsored:No Requires documentation:

Description

The function array_search_case_insensitive (and some others in the same file?) are declared globally and instead, so as not to clutter up the global namespace, should be static methods of a class.

History

#1 Updated by Mike Cantelon 3 months ago

In same file, lib/task/import/csvImportTask.class.php, there's also setAlternativeIdentifiers and refreshTaxonomyTerms.

Also available in: Atom PDF