Update AP Helpers

This commit is contained in:
Daniel Supernault 2019-08-21 22:34:05 -06:00
parent c1110a024f
commit 4acafb9870
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -283,9 +283,7 @@ class Helpers {
$cw = config('costar.domain.cw'); $cw = config('costar.domain.cw');
if(in_array(parse_url($url, PHP_URL_HOST), $cw) == true) { if(in_array(parse_url($url, PHP_URL_HOST), $cw) == true) {
$cw = true; $cw = true;
} else { }
$cw = isset($activity['sensitive']) ? (bool) $activity['sensitive'] : false;
}
} }
if(!self::validateUrl($res['id']) || if(!self::validateUrl($res['id']) ||