Removed a useless variable ($module) from getSearchResults and getViewData calls.