]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
move comment to correct place
authorBrion Vibber <brion@pobox.com>
Wed, 14 Apr 2010 09:09:54 +0000 (11:09 +0200)
committerBrion Vibber <brion@pobox.com>
Wed, 14 Apr 2010 09:09:54 +0000 (11:09 +0200)
classes/Notice.php

index b416e2ff28d28bca4b574b0c5cd70d5068f1eb2b..b0ead3c420b649bf32c004a4e789bbda742306c2 100644 (file)
@@ -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 */
             $this->saveTag($hashtag);
             self::blow('profile:notice_ids_tagged:%d:%s', $this->profile_id, $hashtag);
         }