diff --git a/plugins/OStatus/scripts/gcfeeds.php b/plugins/OStatus/scripts/gcfeeds.php new file mode 100644 index 0000000000..59656aff9b --- /dev/null +++ b/plugins/OStatus/scripts/gcfeeds.php @@ -0,0 +1,41 @@ +#!/usr/bin/env php +. + */ + +define('INSTALLDIR', realpath(dirname(__FILE__) . '/../../..')); + +$helptext = <<fetch()) { + print $feedsub->uri . "(" . $feedsub->sub_state . ")"; + $result = $feedsub->garbageCollect(); + if ($result) { + print " INACTIVE\n"; + } else { + print " ACTIVE\n"; + } +}