mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
#19044947 : if redundant path is occurred, update with path
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7618 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5fb7a2b5bb
commit
a0a1ae5fa7
2 changed files with 15 additions and 2 deletions
|
|
@ -171,11 +171,16 @@
|
|||
}
|
||||
if($oModel->getPackage($args->package_srl))
|
||||
{
|
||||
executeQuery("autoinstall.updatePackage", $args);
|
||||
$output = executeQuery("autoinstall.updatePackage", $args);
|
||||
}
|
||||
else
|
||||
{
|
||||
executeQuery("autoinstall.insertPackage", $args);
|
||||
$output = executeQuery("autoinstall.insertPackage", $args);
|
||||
if(!$output->toBool())
|
||||
{
|
||||
$output = executeQuery("autoinstall.deletePackage", $args);
|
||||
$output = executeQuery("autoinstall.insertPackage", $args);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue