diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/show_index.inc.php | 2 | ||||
-rw-r--r-- | templates/show_user.inc.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/show_index.inc.php b/templates/show_index.inc.php index 3f56d73e..938313c8 100644 --- a/templates/show_index.inc.php +++ b/templates/show_index.inc.php @@ -40,7 +40,7 @@ <!-- Recently Played --> <div id="recently_played"> <?php - $data = get_recently_played(); + $data = Song::get_recently_played(); show_box_top(_('Recently Played')); if (count($data)) { require_once Config::get('prefix') . '/templates/show_recently_played.inc.php'; } show_box_bottom(); diff --git a/templates/show_user.inc.php b/templates/show_user.inc.php index 1765fb6b..96ca8773 100644 --- a/templates/show_user.inc.php +++ b/templates/show_user.inc.php @@ -66,7 +66,7 @@ $client->format(); <td> <?php echo "<h2>" . _('Recently Played') . "</h2>\n"; - $data = get_recently_played($client->id); + $data = Song::get_recently_played($client->id); require Config::get('prefix') . '/templates/show_recently_played.inc.php'; ?> </td> |