fix some ticket-system issues related with migrating to PDO

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
dont show error-message when removing of database physically failed

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>