diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-05-26 22:07:26 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-05-26 22:07:26 +0000 |
commit | 5fce261ae2a1fad5a6f1e437a5245a7b1bf981f3 (patch) | |
tree | a7607908104b23e84c4793a0da1a4c79a11258f9 /templates/show_artists.inc.php | |
parent | fdc509c5c4e2e2256585889ccf0a11a1712f1316 (diff) | |
download | ampache-5fce261ae2a1fad5a6f1e437a5245a7b1bf981f3.tar.gz ampache-5fce261ae2a1fad5a6f1e437a5245a7b1bf981f3.tar.bz2 ampache-5fce261ae2a1fad5a6f1e437a5245a7b1bf981f3.zip |
more improvements to the caching system, removed ugly hack from last night on util
Diffstat (limited to 'templates/show_artists.inc.php')
-rw-r--r-- | templates/show_artists.inc.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/show_artists.inc.php b/templates/show_artists.inc.php index 9e80363d..13c5e307 100644 --- a/templates/show_artists.inc.php +++ b/templates/show_artists.inc.php @@ -40,6 +40,9 @@ $web_path = Config::get('web_path'); <th class="cel_action"> <?php echo _('Action'); ?> </th> </tr> <?php +// Cache the ratings we are going to use +if (Config::get('ratings')) { Rating::build_cache('artist',$object_ids); } + /* Foreach through every artist that has been passed to us */ foreach ($object_ids as $artist_id) { $artist = new Artist($artist_id); |