mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 11:11:39 +09:00
Prevent adding or getting duplicate trigger
This commit is contained in:
parent
74eeaf3459
commit
eb10708a88
2 changed files with 2 additions and 1 deletions
|
|
@ -81,6 +81,7 @@ class moduleController extends module
|
||||||
$args->called_method = $called_method;
|
$args->called_method = $called_method;
|
||||||
$args->called_position = $called_position;
|
$args->called_position = $called_position;
|
||||||
|
|
||||||
|
$output = executeQuery('module.deleteTrigger', $args);
|
||||||
$output = executeQuery('module.insertTrigger', $args);
|
$output = executeQuery('module.insertTrigger', $args);
|
||||||
if($output->toBool())
|
if($output->toBool())
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<tables>
|
<tables>
|
||||||
<table name="module_trigger" />
|
<table name="module_trigger" />
|
||||||
</tables>
|
</tables>
|
||||||
<columns>
|
<columns distinct="distinct">
|
||||||
<column name="*" />
|
<column name="*" />
|
||||||
</columns>
|
</columns>
|
||||||
<conditions>
|
<conditions>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue