Permalink
Browse files

Add hook

  • Loading branch information...
1 parent 2496ec1 commit 8e1450c27143c4b6e20b8b12127dd31b9f45ccc3 @tobscure tobscure committed Jan 22, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 models/ETSearchModel.class.php
@@ -288,6 +288,8 @@ public function getConversationIDs($channelIDs = array(), $searchString = "", $o
{
$this->reset();
+ $this->trigger("getConversationIDsBefore", array(&$channelIDs, &$searchString, &$orderBySticky));
+
if ($searchString and ($seconds = $this->isFlooding())) {
$this->error("search", sprintf(T("message.waitToSearch"), $seconds));
return false;

0 comments on commit 8e1450c

Please sign in to comment.