diff --git a/src/IDF/Views/User.php b/src/IDF/Views/User.php index 52d4b22..f65851b 100644 --- a/src/IDF/Views/User.php +++ b/src/IDF/Views/User.php @@ -192,7 +192,6 @@ class IDF_Views_User */ public function view($request, $match) { - $projects = IDF_Views::getProjects($request->user); $sql = new Pluf_SQL('login=%s', array($match[1])); $users = Pluf::factory('Pluf_User')->getList(array('filter'=>$sql->gen())); if (count($users) != 1 or !$users[0]->active) { @@ -201,7 +200,6 @@ class IDF_Views_User return Pluf_Shortcuts_RenderToResponse('idf/user/public.html', array('page_title' => (string) $users[0], 'member' => $users[0], - 'projects' => $projects, ), $request); } diff --git a/src/IDF/templates/idf/user/public.html b/src/IDF/templates/idf/user/public.html index ae3e68a..17d6b25 100644 --- a/src/IDF/templates/idf/user/public.html +++ b/src/IDF/templates/idf/user/public.html @@ -19,10 +19,6 @@

{blocktrans}You are looking at the public profile of {$member}.{/blocktrans}

-

{trans 'Projects'}

- {/block}