#18390995 : remove redundant query

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6888 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2009-10-26 04:51:20 +00:00
parent 24e95aa472
commit ac8c0941a7
2 changed files with 1 additions and 18 deletions

View file

@ -82,7 +82,7 @@
$hostname = $url_info['host'];
$path = preg_replace('/\/$/','',$url_info['path']);
$sites_args->domain = sprintf('%s%s%s', $hostname, $url_info['port']&&$url_info['port']!=80?':'.$url_info['port']:'',$path);
$output = executeQuery('module.getSiteDefaultInfo', $sites_args);
$output = executeQuery('module.getSiteInfoByDomain', $sites_args);
} else {
if(!$vid) $vid = $mid;
if($vid) {