diff options
author | Zach Copley <zach@status.net> | 2010-01-06 13:40:28 -0800 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-01-06 13:40:28 -0800 |
commit | 013e6dfdd481470cc02994b6db58a387a95016ca (patch) | |
tree | d900f905d5812b12fbb18795b7480003d650bb73 /actions | |
parent | 7ed5a38fca99ef47deba973523510f295c3ca6f7 (diff) |
Don't output notices from deleted users.
Diffstat (limited to 'actions')
-rw-r--r-- | actions/twitapisearchatom.php | 9 |
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(); |