From 4922acb18a656eb62cf43366c27b1aab162924cd Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 18 May 2026 19:01:04 +0000 Subject: [PATCH] actually there is no need to set App::$profile here because it will be set in profile_load() if applicable (cherry picked from commit 0376b5d44277aba0c64150c56558ce23e87cac5d) Co-authored-by: Mario --- Zotlabs/Module/Profile.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Zotlabs/Module/Profile.php b/Zotlabs/Module/Profile.php index e5a9befcf..53682e732 100644 --- a/Zotlabs/Module/Profile.php +++ b/Zotlabs/Module/Profile.php @@ -70,15 +70,6 @@ class Profile extends Controller { 'href' => z_root() . '/feed/' . $which . '?top=1' ]); - if (!$profile) { - $x = q("select channel_id as profile_uid from channel where channel_address = '%s' and channel_removed = 0 limit 1", - dbesc(argv(1)) - ); - if ($x) { - App::$profile = $x[0]; - } - } - profile_load($which, $profile); }