diff --git a/lib/blogs.php b/lib/blogs.php index 3a8177bc86fb8fb42f53474dd4664a5d94e7bff8..8902a87a6fc9ba821ba48baaf5033df638bd9644 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).