Skip to content
Snippets Groups Projects
Commit a1d81530 authored by ale's avatar ale
Browse files

Double-declare r2db_hash_map as global

parent 44852f53
No related branches found
Tags v0.1.4
No related merge requests found
Pipeline #12439 passed
......@@ -3,6 +3,7 @@
require_once(dirname(__FILE__) . '/flexihash.php');
require_once(ABSPATH . 'wp-config.php');
global $r2db_hash_map;
$r2db_hash_map = new Flexihash(null, R2DB_FLEXIHASH_REPLICAS);
/* Hashing function to map blogs to databases.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment