re-enable removing of orphaned entries, fixes #1666

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2016-11-03 14:14:33 +01:00
parent 4274b8a737
commit c409d8a6ba

View File

@@ -95,12 +95,9 @@ if (count($all_certs) == 0) {
if (empty($cert['domain']) || empty($cert['ssl_cert_file'])) {
// no domain found to the entry or empty entry - safely delete it from the DB
/*
Database::pexecute($del_stmt, array(
'id' => $cert['id']
));
*/
echo "no domain found to the entry or empty entry - safely delete it from the DB";
continue;
}