From 47849c2dab3d96e2dc1a807b651399fa5bc9bf59 Mon Sep 17 00:00:00 2001 From: MDW Date: Mon, 30 Dec 2024 18:17:24 +0100 Subject: [PATCH] Comment invalid and unused code to avoid phan notices --- htdocs/projet/activity/index.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/projet/activity/index.php b/htdocs/projet/activity/index.php index 695aa9cff00..e07848404a7 100644 --- a/htdocs/projet/activity/index.php +++ b/htdocs/projet/activity/index.php @@ -518,6 +518,7 @@ if (!getDolGlobalString('PROJECT_HIDE_TASKS') && getDolGlobalString('PROJECT_SHO $taskstatic->dateo = $db->jdate($obj->date_start); $taskstatic->datee = $db->jdate($obj->date_end); + /* username and userstatic not used + not defined $username = ''; if ($obj->userid && $userstatic->id != $obj->userid) { // We have a user and it is not last loaded user $result = $userstatic->fetch($obj->userid); @@ -528,6 +529,7 @@ if (!getDolGlobalString('PROJECT_HIDE_TASKS') && getDolGlobalString('PROJECT_SHO if ($userstatic->id) { $username = $userstatic->getNomUrl(0, 0); } + */ print ''; //print ''.$username.'';