* Follows-up
0a1c04bea
* The DC name ended up not being used in the cookie,
making these unused
Change-Id: I5f0d822a334102ee9596b1ec2a8d911010294e7c
return $bits;
}
-/**
- * @see $wgDataCenterRoles
- * @return string The current cluster ID
- * @since 1.27
- */
-function wfDataCenter() {
- global $wgDataCenterId;
-
- return $wgDataCenterId;
-}
-
-/**
- * @see $wgDataCenterRoles
- * @return string The current cluster role; one of (master/slave)
- * @since 1.27
- */
-function wfDataCenterRole() {
- global $wgDataCenterId, $wgDataCenterRoles;
-
- return $wgDataCenterRoles[$wgDataCenterId];
-}
-
/**
* Get a Database object.
*