Add (rss fixer)
This commit is contained in:
@@ -182,6 +182,11 @@ public static function handle(int $rss_post_id)
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (count($words_to_save) <= 0)
|
||||||
|
{
|
||||||
|
$rss_post->status = 'blocked';
|
||||||
|
}
|
||||||
|
|
||||||
if ($rss_post->save()) {
|
if ($rss_post->save()) {
|
||||||
|
|
||||||
if ($rss_post->status == 'published') {
|
if ($rss_post->status == 'published') {
|
||||||
|
|||||||
Reference in New Issue
Block a user