Task #13308

Make array_search_case_insensitive a static method rather than globally available

Added by Mike Cantelon about 1 year ago. Updated 4 months ago.

Status:QA/ReviewStart date:05/04/2020
Priority:LowDue date:
Assignee:-% Done:

0%

Category:-
Target version:Release 2.7.0
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 about 1 year ago

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

#2 Updated by Mike Cantelon 7 months ago

  • Status changed from New to Code Review
  • Assignee deleted (Mike Cantelon)

#3 Updated by Mike Cantelon 7 months ago

  • Status changed from Code Review to QA/Review

Merged into qa/2.x. Not sure if this needs QA or not.

#4 Updated by José Raddaoui Marín 4 months ago

  • Target version set to Release 2.7.0

Also available in: Atom PDF