Remove unused global reference. props aaroncampbell. fixes #23541.

git-svn-id: http://core.svn.wordpress.org/trunk@23458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2013-02-20 00:18:15 +00:00
parent b5c34dc411
commit 69bd474ac6

View File

@ -43,8 +43,6 @@ function get_blogaddress_by_id( $blog_id ) {
* @return string
*/
function get_blogaddress_by_name( $blogname ) {
global $current_site;
if ( is_subdomain_install() ) {
if ( $blogname == 'main' )
$blogname = 'www';