mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +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_position = $called_position;
|
||||
|
||||
$output = executeQuery('module.deleteTrigger', $args);
|
||||
$output = executeQuery('module.insertTrigger', $args);
|
||||
if($output->toBool())
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<tables>
|
||||
<table name="module_trigger" />
|
||||
</tables>
|
||||
<columns>
|
||||
<columns distinct="distinct">
|
||||
<column name="*" />
|
||||
</columns>
|
||||
<conditions>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue