Skip to content
Snippets Groups Projects
Commit f08a3e6c authored by Joe's avatar Joe Committed by agata
Browse files

Fix scope of $noblogs_master variable

parent 3b197b70
Branches
No related tags found
No related merge requests found
...@@ -35,6 +35,7 @@ function backend_to_http_endpoint($backend) { ...@@ -35,6 +35,7 @@ function backend_to_http_endpoint($backend) {
// Print the blog -> backend map. // Print the blog -> backend map.
function generate_map() { function generate_map() {
global $wpdb; global $wpdb;
global $noblogs_master;
$wpdb_hash = &$wpdb->hash_map; $wpdb_hash = &$wpdb->hash_map;
$blogs = get_blogs(); $blogs = get_blogs();
...@@ -54,4 +55,3 @@ function generate_map() { ...@@ -54,4 +55,3 @@ function generate_map() {
generate_map(); generate_map();
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment