# Plugin -&gt; Frontend -&gt; Logout event

**URL:** <https://forum.shopware.com/t/plugin-gt-frontend-gt-logout-event/7438>\
**Category:** Shopware 3.5\
**Tags:** programming\
**Created:** [18. Juni 2012 um 16:16 UTC](https://forum.shopware.com/t/plugin-gt-frontend-gt-logout-event/7438 "2012-06-18T16:16:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fulltime](https://avatars.discourse-cdn.com/v4/letter/f/7ab992/32.png) [@fulltime](https://forum.shopware.com/u/fulltime)\
**Post date:** [18. Juni 2012 um 16:16 UTC](https://forum.shopware.com/t/plugin-gt-frontend-gt-logout-event/7438/1 "2012-06-18T16:16:30Z")

</div>

Hi, weiß jemand wie ich in mein Plugin das Logout event abfange? Ich würde gern da noch ein SQL Befehl ausführen. Grüße

---

<div class="post-metadata">

**Author:** ![waldicom](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/waldicom/32/12881_2.png) [@waldicom](https://forum.shopware.com/u/waldicom)\
**Post date:** [19. Juni 2012 um 00:14 UTC](https://forum.shopware.com/t/plugin-gt-frontend-gt-logout-event/7438/2 "2012-06-19T00:14:36Z")

</div>

Das geht mit dem Event „Shopware\_Modules\_Admin\_Logout\_Start“ In sAdmin: `if (Enlight()-\>Events()-\>notifyUntil('Shopware\_Modules\_Admin\_Logout\_Start', array('subject'=\>$this))){`
