mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
issue 88 addon install improve
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9820 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f493c3def1
commit
05e8acdb84
2 changed files with 10 additions and 17 deletions
|
|
@ -158,9 +158,9 @@
|
|||
* @brief Add-on
|
||||
* Adds Add to DB
|
||||
**/
|
||||
function doInsert($addon, $site_srl = 0, $gtype = 'site') {
|
||||
function doInsert($addon, $site_srl = 0, $gtype = 'site', $isUsed = 'N') {
|
||||
$args->addon = $addon;
|
||||
$args->is_used = 'N';
|
||||
$args->is_used = $isUsed;
|
||||
if($gtype == 'global') return executeQuery('addon.insertAddon', $args);
|
||||
$args->site_srl = $site_srl;
|
||||
return executeQuery('addon.insertSiteAddon', $args);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue