From 396a01cc323d56ede6bc926a6fb5d54e45aa3ea8 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Wed, 15 Jul 2015 14:00:23 +0930 Subject: [PATCH] Fix broken user activity syncer --- .../src/Core/Activity/Listeners/UserActivitySyncer.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/framework/core/src/Core/Activity/Listeners/UserActivitySyncer.php b/framework/core/src/Core/Activity/Listeners/UserActivitySyncer.php index e47a29afa..cc8e8688d 100755 --- a/framework/core/src/Core/Activity/Listeners/UserActivitySyncer.php +++ b/framework/core/src/Core/Activity/Listeners/UserActivitySyncer.php @@ -33,11 +33,11 @@ class UserActivitySyncer */ public function subscribe(Dispatcher $events) { - $events->listen('Flarum\Core\Events\PostWasPosted', __CLASS__.'@whenPostWasPosted'); - $events->listen('Flarum\Core\Events\PostWasHidden', __CLASS__.'@whenPostWasHidden'); - $events->listen('Flarum\Core\Events\PostWasRestored', __CLASS__.'@whenPostWasRestored'); - $events->listen('Flarum\Core\Events\PostWasDeleted', __CLASS__.'@whenPostWasDeleted'); - $events->listen('Flarum\Core\Events\UserWasRegistered', __CLASS__.'@whenUserWasRegistered'); + $events->listen('Flarum\Core\Posts\Events\PostWasPosted', __CLASS__.'@whenPostWasPosted'); + $events->listen('Flarum\Core\Posts\Events\PostWasHidden', __CLASS__.'@whenPostWasHidden'); + $events->listen('Flarum\Core\Posts\Events\PostWasRestored', __CLASS__.'@whenPostWasRestored'); + $events->listen('Flarum\Core\Posts\Events\PostWasDeleted', __CLASS__.'@whenPostWasDeleted'); + $events->listen('Flarum\Core\Users\Events\UserWasRegistered', __CLASS__.'@whenUserWasRegistered'); } /**