Remove obsolete code in `BlacklistEntryAction`
authorMatthias Schmidt <gravatronics@live.com>
Thu, 29 Apr 2021 05:52:55 +0000 (07:52 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Thu, 29 Apr 2021 05:52:55 +0000 (07:52 +0200)
`$entries` does not exist.

wcfsetup/install/files/lib/data/blacklist/entry/BlacklistEntryAction.class.php

index 7bc1f572518c5f83fbd8a3a3d04973b898b8dc31..3ed1633616db4177ef1c6a5a20b71b441992b783 100644 (file)
@@ -85,7 +85,6 @@ class BlacklistEntryAction extends AbstractDatabaseObjectAction
                     }
                 }
                 WCF::getDB()->commitTransaction();
-                unset($entries);
 
                 $blacklistStatus = new BlacklistStatus($data['meta']['date']);
                 if (!$blacklistStatus->date) {