X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=classes%2Fpref%2Fsystem.php;h=7accb1f912e870ec9d4c7b5bbb8049b755f388d8;hb=52e7b5a096f5d0d7724b6f1731559b237b2c47ae;hp=d2b6cd7461ff8240a4cbfabd87f3670a13204b41;hpb=39ede9862f1df94b24cbe476ec66eca99a1d1a2f;p=tt-rss.git diff --git a/classes/pref/system.php b/classes/pref/system.php index d2b6cd74..7accb1f9 100644 --- a/classes/pref/system.php +++ b/classes/pref/system.php @@ -19,6 +19,10 @@ class Pref_System extends Handler_Protected { return array_search($method, $csrf_ignored) !== false; } + function clearLog() { + $this->dbh->query("DELETE FROM ttrss_error_log"); + } + function index() { print "
"; @@ -35,6 +39,9 @@ class Pref_System extends Handler_Protected { print " "; + print "  "; + print "

"; print "