From 8f36b9404a1f5c2437ff71a3ba86dfaa4d75a5a5 Mon Sep 17 00:00:00 2001 From: sijanec Date: Sun, 18 Oct 2020 02:31:31 +0200 Subject: removed fake file --- mentions.php | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 mentions.php (limited to 'mentions.php') diff --git a/mentions.php b/mentions.php deleted file mode 100644 index 66d35e1..0000000 --- a/mentions.php +++ /dev/null @@ -1,21 +0,0 @@ -setusername($_ENV["orc_user"]); - $o->setpasword($_ENV["orc_pass"]); - while (true) { - $mentions = $o->get("mentions"); - if ($mentions < 0) { - echo "\n".'[mentions.php] ERROR in $mentions'; - continue; - } - foreach($mentions["data"]["children"] as $mention) { - if (in_array(explode("\n", file_get_contents("banned_subs.txt")), $mention["subreddit"])) { - continue; - } - if (in_array(explode("\n", file_get_contents("banned_authors.txt")), $mention["author"])) { - continue; - } - } - } -?> -- cgit v1.2.3