aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2018-01-29 16:07:33 -0500
committerBrian Evans <grknight@gentoo.org>2018-01-29 16:07:33 -0500
commitb167721d5746c0d1791febbb213da0a0aed21aa2 (patch)
treee1c1c0af4b8d937f22b533b6edf0d1eeaf0083e4 /php/admin/mstats.php
parentImport existing bouncer.g.o into git (diff)
downloadbouncer-b167721d5746c0d1791febbb213da0a0aed21aa2.tar.gz
bouncer-b167721d5746c0d1791febbb213da0a0aed21aa2.tar.bz2
bouncer-b167721d5746c0d1791febbb213da0a0aed21aa2.zip
Modernize the database and mirror libraries
Diffstat (limited to 'php/admin/mstats.php')
-rw-r--r--php/admin/mstats.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/php/admin/mstats.php b/php/admin/mstats.php
index 5778d16..284dcf4 100644
--- a/php/admin/mstats.php
+++ b/php/admin/mstats.php
@@ -12,7 +12,7 @@ $nav = INC.'/admin_nav.php';
require_once(HEADER);
echo '<h2>Mirror Statistics</h2>';
-$stats = mirror_get_mirror_stats();
+$stats = Mirror::get_mirror_stats();
$_GET['sort']=(!empty($_GET['sort']))?$_GET['sort']:'count';
$_GET['order']=(!empty($_GET['order']))?$_GET['order']:'DESC';
@@ -29,4 +29,3 @@ $headers = array(
show_list($stats,$headers,'simple');
require_once(FOOTER);
-?>