From 42edf4ab1cecfed01b961222a47052f5a67e94f4 Mon Sep 17 00:00:00 2001 From: ale <ale@incal.net> Date: Wed, 3 Jul 2019 07:58:00 +0100 Subject: [PATCH] Fix for new ai3 noblogs_load_backends() signature --- lib/blogs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/blogs.php b/lib/blogs.php index 3a8177b..8902a87 100644 --- a/lib/blogs.php +++ b/lib/blogs.php @@ -33,7 +33,7 @@ function noblogs_get_backend_for_blog($blog_id) { // (we cannot use the map in $wpdb because it doesn't have the // backend array anymore). $hashmap = new Flexihash(null, R2DB_FLEXIHASH_REPLICAS); - $reversemap = noblogs_load_backends(NOBLOGS_BACKEND_CONFIG, $hashmap); + $reversemap = noblogs_load_backends($hashmap); // Lookup the blog ID using the $wpdb hash just to be safe (though // we should get an identical result using $hashmap). -- GitLab