summaryrefslogtreecommitdiff
path: root/lib/search_engines.php
diff options
context:
space:
mode:
authorMarcel van der Boom <marcel@hsdev.com>2009-08-19 08:34:17 +0200
committerCraig Andrews <candrews@integralblue.com>2009-08-20 13:11:22 -0400
commit418a5a95ab4831ec905dd849fa2632dec24b96da (patch)
tree4f57b527a2c58d7e74684fe0a6eb9aa79ab64fe3 /lib/search_engines.php
parent0d06055f408c4cbffe8ce8508468aa83e2804bf6 (diff)
Change the notice type defines all into class constants and adapt all files.
Diffstat (limited to 'lib/search_engines.php')
-rw-r--r--lib/search_engines.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/search_engines.php b/lib/search_engines.php
index 772f41883..7c26363fc 100644
--- a/lib/search_engines.php
+++ b/lib/search_engines.php
@@ -120,7 +120,7 @@ class MySQLSearch extends SearchEngine
} else if ('identica_notices' === $this->table) {
// Don't show imported notices
- $this->target->whereAdd('notice.is_local != ' . NOTICE_GATEWAY);
+ $this->target->whereAdd('notice.is_local != ' . Notice::GATEWAY);
if (strtolower($q) != $q) {
$this->target->whereAdd("( MATCH(content) AGAINST ('" . addslashes($q) .