summaryrefslogtreecommitdiffstats
path: root/templates/show_stats_newest.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_stats_newest.inc.php')
-rw-r--r--templates/show_stats_newest.inc.php13
1 files changed, 2 insertions, 11 deletions
diff --git a/templates/show_stats_newest.inc.php b/templates/show_stats_newest.inc.php
index f51ee67e..564369ef 100644
--- a/templates/show_stats_newest.inc.php
+++ b/templates/show_stats_newest.inc.php
@@ -1,11 +1,9 @@
<?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/**
- * Show Stats Newest
- *
*
* LICENSE: GNU General Public License, version 2 (GPLv2)
- * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
+ * Copyright 2001 - 2013 Ampache.org
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License v2
@@ -20,21 +18,14 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
- * @package Ampache
- * @copyright 2001 - 2011 Ampache.org
- * @license http://opensource.org/licenses/gpl-2.0 GPLv2
- * @link http://www.ampache.org/
*/
-?>
-<?php
$object_ids = Stats::get_newest('album');
$browse = new Browse();
$browse->set_type('album');
$browse->show_objects($object_ids);
$browse->store();
-?>
-<?php
+
$object_ids = Stats::get_newest('artist');
$browse = new Browse();
$browse->set_type('artist');