Skip to content

Commit

Permalink
Disable todo count
Browse files Browse the repository at this point in the history
  • Loading branch information
CatoTH committed Jan 23, 2025
1 parent 42485b3 commit c57a7f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions models/AdminTodoItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,8 @@ public static function getConsultationTodos(?Consultation $consultation, bool $s

public static function getConsultationTodoCount(?Consultation $consultation, bool $onlyIfExists): ?int
{
return 0;

$cache = self::getTodoCache($consultation, User::getCurrentUser()?->id);
$cache->setTimeout(5 * 60);

Expand Down

0 comments on commit c57a7f0

Please sign in to comment.