]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Use recently implemented functions in saveKnownReplies
authorMikael Nordfeldth <mmn@hethane.se>
Thu, 31 Dec 2015 01:22:49 +0000 (02:22 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Thu, 31 Dec 2015 01:22:49 +0000 (02:22 +0100)
classes/Notice.php

index 22796abcfa346ff56ddf68ab3e6d5aac2d30fb59..b359139abcad270e404554adf014f10752a6b24d 100644 (file)
@@ -1583,7 +1583,7 @@ class Notice extends Managed_DataObject
             return;
         }
 
-        $sender = Profile::getKV($this->profile_id);
+        $sender = $this->getProfile();
 
         foreach (array_unique($uris) as $uri) {
             try {
@@ -1598,11 +1598,9 @@ class Notice extends Managed_DataObject
                 continue;
             }
 
-            $this->saveReply($profile->id);
-            self::blow('reply:stream:%d', $profile->id);
+            $this->saveReply($profile->getID());
+            self::blow('reply:stream:%d', $profile->getID());
         }
-
-        return;
     }
 
     /**