I took a slightly different approach in #1402758: Remove user votes page in favour of views and just used the $account that was loaded by the %user menu loader. There were quite a few issues in that function. The next error is db_query_rewrite() is no more.
Comments
Comment #1
drewish commentedI took a slightly different approach in #1402758: Remove user votes page in favour of views and just used the $account that was loaded by the %user menu loader. There were quite a few issues in that function. The next error is db_query_rewrite() is no more.
Comment #2
marvil07 commentedPlease take a look to #1402758-8: Remove user votes page in favour of views