diff options
author | Brion Vibber <brion@pobox.com> | 2010-04-08 16:58:54 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-04-08 16:58:54 -0700 |
commit | ab20e75ff8feab01b4fec81c02b8b4039d65cca0 (patch) | |
tree | fee4490cdada928cfa9debbf4b3caa69bff469e7 /lib/util.php | |
parent | 88678eadfa2e93f540195bd934833e58f23639f7 (diff) |
scripts/strip_geo.php to remove geodata from notices by a given user/profile.
May be slow or run out of memory if run on particularly prolific posters -- not yet optimized for that case.
Note that geodata that has already been sent out to other services (via ostatus, omb, twitter, etc) will not be removed from them.
Diffstat (limited to 'lib/util.php')
-rw-r--r-- | lib/util.php | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/util.php b/lib/util.php index bbc334176..f4ee26bbf 100644 --- a/lib/util.php +++ b/lib/util.php @@ -862,14 +862,7 @@ function common_xml_safe_str($str) function common_tag_link($tag) { $canonical = common_canonical_tag($tag); - if (common_config('singleuser', 'enabled')) { - // regular TagAction isn't set up in 1user mode - $url = common_local_url('showstream', - array('nickname' => common_config('singleuser', 'nickname'), - 'tag' => $canonical)); - } else { - $url = common_local_url('tag', array('tag' => $canonical)); - } + $url = common_local_url('tag', array('tag' => $canonical)); $xs = new XMLStringer(); $xs->elementStart('span', 'tag'); $xs->element('a', array('href' => $url, |