mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
issue 160 fixed a bug for addon
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9148 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ead9eceded
commit
865e88c47b
4 changed files with 11 additions and 11 deletions
|
|
@ -77,15 +77,16 @@
|
|||
$args->fixed = 'N';
|
||||
|
||||
$args->addon = $targetAddon;
|
||||
$args->site_srl = 0;
|
||||
|
||||
$output = executeQuery('addon.updateAddon', $args);
|
||||
$output = executeQuery('addon.updateSiteAddon', $args);
|
||||
if (!$output->toBool()) return $output;
|
||||
}
|
||||
|
||||
if (count($updateList))
|
||||
{
|
||||
$this->makeCacheFile(0, 'pc', 'global');
|
||||
$this->makeCacheFile(0, 'mobile', 'global');
|
||||
$this->makeCacheFile(0, 'pc', 'site');
|
||||
$this->makeCacheFile(0, 'mobile', 'site');
|
||||
}
|
||||
|
||||
$this->setRedirectUrl(getNotEncodedUrl('', 'module', 'admin', 'act', 'dispAddonAdminIndex'));
|
||||
|
|
@ -126,11 +127,11 @@
|
|||
|
||||
$site_module_info = Context::get('site_module_info');
|
||||
|
||||
$output = $this->doSetup($addon_name, $args, $site_module_info->site_srl, 'global');
|
||||
$output = $this->doSetup($addon_name, $args, $site_module_info->site_srl, 'site');
|
||||
if (!$output->toBool()) return $output;
|
||||
|
||||
$this->makeCacheFile($site_module_info->site_srl, "pc", 'global');
|
||||
$this->makeCacheFile($site_module_info->site_srl, "mobile", 'global');
|
||||
$this->makeCacheFile($site_module_info->site_srl, "pc", 'site');
|
||||
$this->makeCacheFile($site_module_info->site_srl, "mobile", 'site');
|
||||
|
||||
$this->setRedirectUrl(getNotEncodedUrl('', 'module', 'admin', 'act', 'dispAddonAdminSetup', 'selected_addon', $addon_name));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue