Last active
December 11, 2015 10:38
-
-
Save amphibian/4588185 to your computer and use it in GitHub Desktop.
Addition to pi.delete.php to trigger the delete_entries_loop hook. (For http://devot-ee.com/add-ons/delete-entries-and-comments)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ~ Line 120 | |
if ($deleted == TRUE) | |
{ | |
$this->EE->extensions->call('delete_entries_loop', $entry_id, $channel_id); | |
$return = ($this->EE->TMPL->fetch_param('message_success') ? $this->EE->TMPL->fetch_param('message_success') : $this->message_success); | |
} | |
else | |
{ | |
$return = $this->message_failure; | |
} | |
return $return; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment