#!/bin/sh
psql -c "DELETE FROM log_module WHERE module='Error Report Assistant';"
chklocale

#DEBHELPER#

if [ "$1" = "purge" ]; then
  echo
  echo If you do not need the SQL tables anymore, remove them by running
  echo '  psql -c "DROP TABLE mod_errorreporter;"'
  echo After that, all error reports are unrecoverably deleted!
  echo
fi;