From a2e73772b04e7f3960aa96cfecacc0e846253819 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Wed, 14 Dec 2016 22:05:57 +0100 Subject: [PATCH] Remove unused variable --- .../data/user/activity/event/UserActivityEventAction.class.php | 2 -- 1 file changed, 2 deletions(-) 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(); -- 2.20.1