mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 08:13:16 +00:00
Update AP Helpers
This commit is contained in:
parent
c1110a024f
commit
4acafb9870
1 changed files with 1 additions and 3 deletions
|
@ -283,8 +283,6 @@ 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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue