Skip to content
Snippets Groups Projects

Issue #3337216: DI problems

Merged Taras Kravchuk requested to merge issue/private_message-3337216:3337216-di-problems into 3.0.x
1 file
+ 1
3
Compare changes
  • Side-by-side
  • Inline
@@ -446,9 +446,7 @@ class AjaxController extends ControllerBase implements AjaxControllerInterface {
protected function loadThread(AjaxResponse $response) {
$thread_id = $this->requestStack->getCurrentRequest()->get('id');
if ($thread_id) {
$thread = $this->entityTypeManager
->getStorage('private_message_thread')
->load($thread_id);
$thread = $this->entityTypeManager->getStorage('private_message_thread')->load($thread_id);
if ($thread && $thread->access('view', $this->currentUser)) {
$this->privateMessageService->updateLastCheckTime();
Loading