Closed garethsime closed 1 year ago
This code predates me by a long time, and the only person who understood is has long since moved on to other things, but both code inspection and testing bear this out - it's unused, and it makes search by reader much faster. Thanks!
Fixes #155.
Calling
$this->_get_projects_by_section_author($params['author']);
without an author ID is really expensive, and we just throw the result away anyway. I also removed a few other unused variables while I was there, though the performance impact of those was negligible.This should make searching by reader without an author much faster.