diff options
author | Marcel van der Boom <marcel@hsdev.com> | 2009-08-19 08:34:17 +0200 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-08-20 13:11:22 -0400 |
commit | 418a5a95ab4831ec905dd849fa2632dec24b96da (patch) | |
tree | 4f57b527a2c58d7e74684fe0a6eb9aa79ab64fe3 /lib/util.php | |
parent | 0d06055f408c4cbffe8ce8508468aa83e2804bf6 (diff) |
Change the notice type defines all into class constants and adapt all files.
Diffstat (limited to 'lib/util.php')
-rw-r--r-- | lib/util.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util.php b/lib/util.php index ba3760678..748c8332f 100644 --- a/lib/util.php +++ b/lib/util.php @@ -854,8 +854,8 @@ function common_enqueue_notice($notice) $transports[] = 'jabber'; } - if ($notice->is_local == NOTICE_LOCAL_PUBLIC || - $notice->is_local == NOTICE_LOCAL_NONPUBLIC) { + if ($notice->is_local == Notice::LOCAL_PUBLIC || + $notice->is_local == Notice::LOCAL_NONPUBLIC) { $transports = array_merge($transports, $localTransports); if ($xmpp) { $transports[] = 'public'; |