From: Matthias Schmidt Date: Wed, 14 Dec 2016 21:05:57 +0000 (+0100) Subject: Remove unused variable X-Git-Tag: 3.0.0_RC_1~9 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a2e73772b04e7f3960aa96cfecacc0e846253819;p=GitHub%2FWoltLab%2FWCF.git Remove unused variable --- diff --git a/wcfsetup/install/files/lib/data/user/activity/event/UserActivityEventAction.class.php b/wcfsetup/install/files/lib/data/user/activity/event/UserActivityEventAction.class.php index 4911f47302..8c19314f40 100644 --- a/wcfsetup/install/files/lib/data/user/activity/event/UserActivityEventAction.class.php +++ b/wcfsetup/install/files/lib/data/user/activity/event/UserActivityEventAction.class.php @@ -62,10 +62,8 @@ class UserActivityEventAction extends AbstractDatabaseObjectAction { * @return array */ public function load() { - $box = null; if ($this->boxController !== null) { $eventList = $this->boxController->getFilteredList(); - } else { $eventList = new ViewableUserActivityEventList();