<p>No, there isn't. That's why <code>onBeforePerformAction</code> was introduced in <a href="https://craftcms.com/changelog#build2750" rel="nofollow">2.5</a>.</p>

<p>I would <strong>highly</strong> recommend that you update Craft to the latest version (<a href="https://craftcms.com/changelog#build2944" rel="nofollow">2.6.2944</a>). In addition to all of the cool features that you are missing out on, there was also a <strong>critical security update</strong> released in <a href="https://craftcms.com/changelog#build2791" rel="nofollow">2.6.2791</a>. Without that update, you may be leaving sensitive data exposed.</p>

CC BY-SA 3.0
2016-09-23T05:33:07.130Z
2016-09-23T05:33:07.130Z
Lindsey D
<p>Is there an alternate event for <code>onBeforePerformAction</code>? I want to handle an <code>onDeleteEntry</code>, but apparently that doesn't work on a bulk delete (deleting from the check boxes).</p>

<plugin-development>
'onBeforePerformAction' alternative for craft 2.4.0?
# 'onBeforePerformAction' alternative for craft 2.4.0?

(Asked by: username_0 on 2016-09-23)

Is there an alternate event for `onBeforePerformAction`? I want to handle an `onDeleteEntry`, but apparently that doesn't work on a bulk delete (deleting from the check boxes).

**Tags:** plugin-development

---

## 1 answers

### Answer by username_1 on 2016-09-23. Score: 4 | Accepted answer

No, there isn't. That's why `onBeforePerformAction` was introduced in [2.5](https://craftcms.com/changelog#build2750).

I would **highly** recommend that you update Craft to the latest version ([2.6.2944](https://craftcms.com/changelog#build2944)). In addition to all of the cool features that you are missing out on, there was also a **critical security update** released in [2.6.2791](https://craftcms.com/changelog#build2791). Without that update, you may be leaving sensitive data exposed.


---

