mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-08 11:33:55 +09:00
#19042813 : batch update mobile information in sites
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7617 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
69e098e621
commit
5fb7a2b5bb
2 changed files with 19 additions and 0 deletions
|
|
@ -695,5 +695,12 @@
|
||||||
$output = executeQuery('module.deleteLock', $args);
|
$output = executeQuery('module.deleteLock', $args);
|
||||||
return $output;
|
return $output;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function updateModuleInSites($site_srls, $args)
|
||||||
|
{
|
||||||
|
$args->site_srls = $site_srls;
|
||||||
|
$output = executeQuery('module.updateModuleInSites', $args);
|
||||||
|
return $output;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
12
modules/module/queries/updateModuleInSites.xml
Normal file
12
modules/module/queries/updateModuleInSites.xml
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
<query id="updateModuleInSites" action="update">
|
||||||
|
<tables>
|
||||||
|
<table name="modules" />
|
||||||
|
</tables>
|
||||||
|
<columns>
|
||||||
|
<column name="mlayout_srl" var="mlayout_srl" />
|
||||||
|
<column name="use_mobile" var="use_mobile" />
|
||||||
|
</columns>
|
||||||
|
<conditions>
|
||||||
|
<condition operation="in" column="site_srl" var="site_srls" filter="number" notnull="notnull" />
|
||||||
|
</conditions>
|
||||||
|
</query>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue