Update (rss): disable
This commit is contained in:
@@ -155,16 +155,16 @@ public static function handle(int $rss_post_id)
|
|||||||
{
|
{
|
||||||
$rss_post->status = 'blocked';
|
$rss_post->status = 'blocked';
|
||||||
}
|
}
|
||||||
else
|
// else
|
||||||
{
|
// {
|
||||||
if (isset($post_meta_response->output->is_government_or_political_news))
|
// if (isset($post_meta_response->output->is_government_or_political_news))
|
||||||
{
|
// {
|
||||||
if($post_meta_response->output->is_government_or_political_news == true)
|
// if($post_meta_response->output->is_government_or_political_news == true)
|
||||||
{
|
// {
|
||||||
$rss_post->status = 'blocked';
|
// $rss_post->status = 'blocked';
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user