From 2cc48e888d92517381e902c1b1a34a76d2293c34 Mon Sep 17 00:00:00 2001
From: David Siegfried <david.siegfried@uni-vechta.de>
Date: Sun, 19 May 2024 09:11:44 +0200
Subject: [PATCH] remove call to ProfileModel, re #4185

---
 app/controllers/profile.php | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/app/controllers/profile.php b/app/controllers/profile.php
index 697bc68f084..7738bb3323a 100644
--- a/app/controllers/profile.php
+++ b/app/controllers/profile.php
@@ -37,11 +37,6 @@ class ProfileController extends AuthenticatedController
             'username',
             $this->user ? $this->user->username : null
         ));
-        // get additional informations to selected user
-        $this->profile = new ProfileModel(
-            $this->current_user ? $this->current_user->id : null,
-            $this->user ? $this->user->id : null
-        );
 
         // set the page title depending on user selection
         if (
-- 
GitLab