mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
issue 92 page type 'ARTICLE' pages of 'skin fix' column to 'Y' is updated
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8655 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4b09d1118a
commit
5a60bfa3d6
5 changed files with 33 additions and 1 deletions
|
|
@ -48,14 +48,23 @@
|
|||
|
||||
// old page module instance update
|
||||
$output = executeQueryArray('page.pageTypeNullCheck');
|
||||
$skin_update_srls = array();
|
||||
if ($output->toBool() && $output->data){
|
||||
foreach($output->data as $val){
|
||||
$args->module_srl = $val->module_srl;
|
||||
$args->name = 'page_type';
|
||||
$args->value= 'WIDGET';
|
||||
$in_out = executeQuery('page.insertPageType', $args);
|
||||
|
||||
$skin_update_srls[] = $val->module_srl;
|
||||
}
|
||||
}
|
||||
|
||||
if (count($skin_update_srls)>0){
|
||||
$skin_args->module_srls = implode(',',$skin_update_srls);
|
||||
$skin_args->is_skin_fix = "Y";
|
||||
$ouput = executeQuery('page.updateSkinFix', $skin_args);
|
||||
}
|
||||
return new Object(0,'success_updated');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue