summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-10 11:15:45 -0800
committerEvan Prodromou <evan@status.net>2010-01-10 11:15:45 -0800
commit91760ae2ae677c68fa818e98e35525f07ded3fd8 (patch)
treea63c8cc4348405e7a74a3b51e809dfcc3def2f4b /actions
parent31585453fc7c7ed2d4b9c72ef0478e541b5622e4 (diff)
parentd6db8e58170e6e78a0fd67d50f7fea5d95b5d9c8 (diff)
Merge branch 'master' of git@gitorious.org:statusnet/mainline
Diffstat (limited to 'actions')
-rw-r--r--actions/twitapisearchatom.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/actions/twitapisearchatom.php b/actions/twitapisearchatom.php
index 1cb8d7efe..baed2a0c7 100644
--- a/actions/twitapisearchatom.php
+++ b/actions/twitapisearchatom.php
@@ -208,7 +208,14 @@ class TwitapisearchatomAction extends ApiAction
$this->showFeed();
foreach ($notices as $n) {
- $this->showEntry($n);
+
+ $profile = $n->getProfile();
+
+ // Don't show notices from deleted users
+
+ if (!empty($profile)) {
+ $this->showEntry($n);
+ }
}
$this->endAtom();