function path_redirect_node_redirects in Path redirect 5
2 calls to path_redirect_node_redirects()
File
- ./
path_redirect.module, line 483
Code
function path_redirect_node_redirects($nid) {
return db_query("\n SELECT rid, path, redirect, type\n FROM {path_redirect} pr LEFT JOIN {url_alias} ua ON pr.redirect = ua.dst\n WHERE pr.redirect = 'node/%d' OR ua.src = 'node/%d'\n ORDER BY pr.path", $nid, $nid);
}