Robert9
Guest
Member
I have a table x; it has a field thread_id
if thread 212 is deleted (or merged?!), I want to delete the column in x where thread_id is 212
i found entity_post_delete, but no entity_thread_delete
i found a listener with something like:
Code:
Do we have another example to delete something?
resource and...
Read more
delete from x with thread_id when thread is deleted
free plugins
minecraft paid for free
mcmarket
mc-market
free minecraft paid plugins
free minecraft plugins
spigotmc
SpigotMC
aac free
ewg free
Minecraft Premium Plugins
ewg free download
litebans free
epicworldgenerator free
free schematics
leaked schematics minecraft
schematics
schematics leaked
schematics free
minecraft schematics free
paid minecraft schematics free
paid minecraft schematics for free
free cracked plugins
free cracked minecraft plugins
plugins
featherboard download
featherboard plugin download
antiaura download
xenforo leaked
xenforo for free
xenforo addons
if thread 212 is deleted (or merged?!), I want to delete the column in x where thread_id is 212
i found entity_post_delete, but no entity_thread_delete
i found a listener with something like:
Code:
Code:
public static function threadEntityPostDelete(\XF\Mvc\Entity\Entity $entity)
{
$entity->db()->delete('xf_r9_example', 'thread_id = ?', $entity->thread_id);
}
Do we have another example to delete something?
resource and...
Read more
delete from x with thread_id when thread is deleted
free plugins
minecraft paid for free
mcmarket
mc-market
free minecraft paid plugins
free minecraft plugins
spigotmc
SpigotMC
aac free
ewg free
Minecraft Premium Plugins
ewg free download
litebans free
epicworldgenerator free
free schematics
leaked schematics minecraft
schematics
schematics leaked
schematics free
minecraft schematics free
paid minecraft schematics free
paid minecraft schematics for free
free cracked plugins
free cracked minecraft plugins
plugins
featherboard download
featherboard plugin download
antiaura download
xenforo leaked
xenforo for free
xenforo addons