We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 34d08022 authored by Mike Sheldon's avatar Mike Sheldon

Remove tagcloud generation from user profile since we no longer display this and it's very slow

parent b492eb13
...@@ -49,10 +49,6 @@ if(isset($user->name)) { ...@@ -49,10 +49,6 @@ if(isset($user->name)) {
$aUserNowPlaying = $user->getNowPlaying(10); $aUserNowPlaying = $user->getNowPlaying(10);
$smarty->assign('nowplaying', $aUserNowPlaying); $smarty->assign('nowplaying', $aUserNowPlaying);
} catch (exception $e) {} } catch (exception $e) {}
try {
$aUserTagCloud = TagCloud::GenerateTagCloud(TagCloud::scrobblesTable('user'), 'artist', 40, $user->name);
$smarty->assign('user_tagcloud',$aUserTagCloud);
} catch (exception $e) {}
$smarty->assign('isme', ($this_user->name == $user->name)); $smarty->assign('isme', ($this_user->name == $user->name));
$smarty->assign('me', $user); $smarty->assign('me', $user);
$smarty->assign('sidebar', true); $smarty->assign('sidebar', true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment