aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Downloads.php
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2013-04-29 22:59:21 +0000
committerRomain d'Alverny <rda@mageia.org>2013-04-29 22:59:21 +0000
commitadf4504fce4ed36a534dd22d3bfe2e6638ddd66a (patch)
tree35e907f192830580abecf9c739d47d2b90fd64b6 /lib/Downloads.php
parente92e35166e025408a12ffeca733529570f2e11ff (diff)
downloadwww-adf4504fce4ed36a534dd22d3bfe2e6638ddd66a.tar
www-adf4504fce4ed36a534dd22d3bfe2e6638ddd66a.tar.gz
www-adf4504fce4ed36a534dd22d3bfe2e6638ddd66a.tar.bz2
www-adf4504fce4ed36a534dd22d3bfe2e6638ddd66a.tar.xz
www-adf4504fce4ed36a534dd22d3bfe2e6638ddd66a.zip
manual script to force update list of mirrors
Diffstat (limited to 'lib/Downloads.php')
-rw-r--r--lib/Downloads.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Downloads.php b/lib/Downloads.php
index 7d8026aa2..aef1dd185 100644
--- a/lib/Downloads.php
+++ b/lib/Downloads.php
@@ -96,9 +96,8 @@ class Downloads
*
* @return array
*/
- public static function get_all_mirrors()
+ public static function get_all_mirrors($prod = true)
{
- $prod = true;
$cache_file = realpath(__DIR__ . '/cached.list.php');
if ($prod) {