TrinityCore/TrinityCore — Issue #4676: [Quest/exploit] Removing invalid/duplicated Quest 13093
Author: durotar
Created: 2012-01-06 16:43:31+00:00
State: open

TC: a79ea3dcd
DB: TDB44 + updates
Addons/patches: None
Tested: yes

Bug: NPC 30232 - The Bone Witch
She has 2 quest with same name, same RequiredItemId, RequiredItemCount and rewards. But only one has all the texts, the another does not say nothing (details text nor objectives)
This fix prevent exploits too:

```sql
-- Removing invalid quest 13093 (it is a truncated clone of 13092, no objectives, nor details texts, nothing)
DELETE FROM `creature_questrelation` WHERE `quest`=13093;
DELETE FROM `creature_involvedrelation` WHERE `quest`=13093;

DELETE FROM `disables` WHERE `sourceType`=1 AND `entry`=13093;
INSERT INTO `disables` (`sourceType`, `entry`, `flags`, `params_0`, `params_1`, `comment`) VALUES
(1, 13093, 0, '', '', 'Deprecated quest');

```