Removed the project list on the public profile page.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user