aces / Loris

LORIS is a web-accessible database solution for longitudinal multi-site studies.
GNU General Public License v3.0
141 stars 173 forks source link

Deprecated LORIS function call in recreate_conflicts.php script #9267

Closed racostas closed 1 month ago

racostas commented 1 month ago

Describe the bug The function getAllInstruments() used by recreate_conflicts.php it been deprecated in LORIS 24. We should changed it by getInstrumentsNamesList() as described in the following error message.

image

To Reproduce Steps to reproduce the behavior (attach screenshots if applicable):

  1. In /var/www/loris/tools, run php recreate_conflicts.php all
  2. The deprecation error message will be shown before the script starts recreating the conflicts.

What did you expect to happen? The script to use the new and more accurate function when retrieving all the instruments.