Deleting a trophy fails to delete xf_user_alert entries

  • Thread starter Thread starter Steffen
  • Start date Start date

Steffen

Guest
Member
The method XF\Entity\Trophy::_postDelete checks the "xf_user_alert" column "extra_data" (which is empty!) although it seems like it should check the "content_id" column because that's where the trophy_id is stored.

Diff:

Code:
--- a/src/XF/Entity/Trophy.php
+++ b/src/XF/Entity/Trophy.php
@@ -92,7 +92,8 @@ class Trophy extends Entity
 
        $this->db()->delete(
            'xf_user_alert',
-           "content_type = 'trophy' AND action = 'award' AND extra_data LIKE '%i:" ...

Read more
Deleting a trophy fails to delete xf_user_alert entries

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
 
Top