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

Commit 7ba2b278 authored by Jonas Haraldsson's avatar Jonas Haraldsson

disable recommended artist cloud to speed up page

parent 9ceeced2
......@@ -51,8 +51,8 @@ if (isset($user->name)) {
$smarty->assign('nowplaying', $aUserNowPlaying);
} catch (Exception $e) {}
if ($user->hasLoved()) {
$recommendedArtists = $user->getRecommended(10);
$smarty->assign('recommendedArtists', $recommendedArtists);
//$recommendedArtists = $user->getRecommended(10);
//$smarty->assign('recommendedArtists', $recommendedArtists);
$lovedArtists = TagCloud::generateTagCloud('loved', 'artist', 10, 'userid', $user->uniqueid);
$smarty->assign('lovedArtists', $lovedArtists);
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