In MySQL, get_folders_for_device() is returning FileObjects, not folders. There is also a get_file_objects_by_device() SP which may be used by something else. We need to audit where these SPs are being called, and correct the names and functionality to match what they are actually doing.
In MySQL, get_folders_for_device() is returning FileObjects, not folders. There is also a get_file_objects_by_device() SP which may be used by something else. We need to audit where these SPs are being called, and correct the names and functionality to match what they are actually doing.