We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit d445b977 authored by Brion Vibber's avatar Brion Vibber

move comment to correct place

parent 94632877
......@@ -148,11 +148,11 @@ class Notice extends Memcached_DataObject
//turn each into their canonical tag
//this is needed to remove dupes before saving e.g. #hash.tag = #hashtag
for($i=0; $i<count($hashtags); $i++) {
/* elide characters we don't want in the tag */
$hashtags[$i] = common_canonical_tag($hashtags[$i]);
foreach(array_unique($hashtags) as $hashtag) {
/* elide characters we don't want in the tag */
self::blow('profile:notice_ids_tagged:%d:%s', $this->profile_id, $hashtag);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment