summaryrefslogtreecommitdiff
path: root/lib/util.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-29 13:21:07 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-29 13:21:07 -0400
commit56bf6371762a53e3db3cb10e66cc8ea6b9f02da3 (patch)
treed9955c051e736622dd158b31fb3a6ecf4cf9eb2f /lib/util.php
parent0fde1097f3112d87d5777c72b0732b3a95984108 (diff)
dummy atlinkin
darcs-hash:20080529172107-84dde-5c4fd44c49340e1ef478e1582776a0310365e479.gz
Diffstat (limited to 'lib/util.php')
-rw-r--r--lib/util.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/util.php b/lib/util.php
index 93bf37191..7a0d5d11f 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -353,7 +353,7 @@ function common_render_content($text, $notice=NULL) {
$r = htmlspecialchars($text);
if ($notice) {
$id = $notice->profile_id;
- $r = preg_replace('/\b@([\w-]+)\b/e', "@common_at_link($id, '\\1')", $r);
+ $r = preg_replace('/\b@([\w-]+)\b/e', "ATLINK*** \\1 ***", $r);
}
# XXX: # tags
# XXX: machine tags
@@ -361,7 +361,6 @@ function common_render_content($text, $notice=NULL) {
}
function common_at_link($sender_id, $nickname) {
- print_r('atlink generator got called');
# Try to find profiles this profile is subscribed to that have this nickname
$recipient = new Profile();
# XXX: chokety and bad