issue 449, removed default value of 2nd argument of getModuleInfoByMid()

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9636 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2011-10-13 07:46:58 +00:00
parent cbaa09ea3d
commit 3ea1e07541
3 changed files with 19 additions and 19 deletions

View file

@ -107,7 +107,7 @@
}
// If no virtual website was found, get default website
if($domain === '') {
if($oCacheHandler->isSupport()) $output = $oCacheHandler->get('default_site');
if($oCacheHandler->isSupport()) $output = $oCacheHandler->get('default_site');
if(!$output){
$args->site_srl = 0;
$output = executeQuery('module.getSiteInfo', $args);
@ -148,7 +148,7 @@
/**
* @brief Get module information by mid
**/
function getModuleInfoByMid($mid, $site_srl = 0, $columnList = array()) {
function getModuleInfoByMid($mid, $site_srl, $columnList = array()) {
$args->mid = $mid;
$args->site_srl = (int)$site_srl;
$oCacheHandler = &CacheHandler::getInstance('object');