Renamed check_domain_blocklist to blocked_url

- Remove debug
This commit is contained in:
Hypolite Petovan 2017-04-26 00:23:01 -04:00
parent 8d469c155a
commit 188d3a6f5e
4 changed files with 11 additions and 13 deletions

View file

@ -514,7 +514,7 @@ function dfrn_request_post(App $a) {
return; // NOTREACHED
}
if (! check_domain_blocklist($url)) {
if (blocked_url($url)) {
notice( t('Blocked domain') . EOL);
goaway(App::get_baseurl() . '/' . $a->cmd);
return; // NOTREACHED