function votingapi_views_qhandler_currentuser_vote in Voting API 5
Same name and namespace in other branches
- 6 votingapi_views.inc \votingapi_views_qhandler_currentuser_vote()
File
- ./
votingapi_views.inc, line 257
Code
function votingapi_views_qhandler_currentuser_vote($field, $fieldinfo, &$query) {
$table = $fieldinfo['table'];
$query
->add_where("{$table}.uid = ***CURRENT_USER***");
}