]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/OStatus/classes/Ostatus_profile.php
Stronger typing and function access control in OStatus
[quix0rs-gnu-social.git] / plugins / OStatus / classes / Ostatus_profile.php
index 59eccc52d06b7a6d778edfdd7e54618c3ed00663..7ab5b7c8f030818d3e6fd32ff4caaf230123cd23 100644 (file)
@@ -342,12 +342,13 @@ class Ostatus_profile extends Managed_DataObject
      * @param Profile $actor
      * @return boolean success
      */
-    public function notifyActivity($entry, $actor)
+    public function notifyActivity($entry, Profile $actor)
     {
         if ($this->salmonuri) {
             $salmon = new Salmon();
             return $salmon->post($this->salmonuri, $this->notifyPrepXml($entry), $actor);
         }
+        common_debug(__CLASS__.' error: No salmonuri for Ostatus_profile uri: '.$this->uri);
 
         return false;
     }