gothfox/Tiny-Tiny-RSS — pull request #23 by rutgerw (2012-08-04 18:24:34+00:00)
Title: add command line option '-quiet' to make update.php more quiet

I run update.php from a cronjob and use cronic (http://habilis.net/cronic/) for catching stdout and stderr and passing output to my mail. I just want output of cronjobs in case something is wrong.

I noticed that update.php generates some output via _debug(), so I added a QUIET constant that is set by a '-quiet' option in update.php. If the QUIET constant is set and true, _debug() doesn't print anymore.