From 82ba990ddcd929e45c952a312340f86a56eecb19 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Mon, 31 Jul 2017 12:49:50 +0200 Subject: [PATCH] Deprecate unused `IStackableUserNotificationObject` interface --- .../object/IStackableUserNotificationObject.class.php | 1 + .../object/UserFollowUserNotificationObject.class.php | 9 +-------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/wcfsetup/install/files/lib/system/user/notification/object/IStackableUserNotificationObject.class.php b/wcfsetup/install/files/lib/system/user/notification/object/IStackableUserNotificationObject.class.php index 0b2a34a77f..f363c6b67d 100644 --- a/wcfsetup/install/files/lib/system/user/notification/object/IStackableUserNotificationObject.class.php +++ b/wcfsetup/install/files/lib/system/user/notification/object/IStackableUserNotificationObject.class.php @@ -8,6 +8,7 @@ namespace wcf\system\user\notification\object; * @copyright 2001-2017 WoltLab GmbH * @license GNU Lesser General Public License * @package WoltLabSuite\Core\System\User\Notification\Object + * @deprecated since 3.1 */ interface IStackableUserNotificationObject extends IUserNotificationObject { /** diff --git a/wcfsetup/install/files/lib/system/user/notification/object/UserFollowUserNotificationObject.class.php b/wcfsetup/install/files/lib/system/user/notification/object/UserFollowUserNotificationObject.class.php index 9bc412fc5b..7dc5a25b28 100644 --- a/wcfsetup/install/files/lib/system/user/notification/object/UserFollowUserNotificationObject.class.php +++ b/wcfsetup/install/files/lib/system/user/notification/object/UserFollowUserNotificationObject.class.php @@ -14,7 +14,7 @@ use wcf\data\DatabaseObjectDecorator; * @method UserFollow getDecoratedObject() * @mixin UserFollow */ -class UserFollowUserNotificationObject extends DatabaseObjectDecorator implements IStackableUserNotificationObject { +class UserFollowUserNotificationObject extends DatabaseObjectDecorator { /** * @inheritDoc */ @@ -40,11 +40,4 @@ class UserFollowUserNotificationObject extends DatabaseObjectDecorator implement public function getAuthorID() { return $this->userID; } - - /** - * @inheritDoc - */ - public function getRelatedObjectID() { - return $this->followUserID; - } } -- 2.20.1