]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Notice.php
Deletes now federated. But might not be handled properly
[quix0rs-gnu-social.git] / classes / Notice.php
index 7a3dc2bc0f4eb9dcfc160fe5b4a8b2f5b57edc24..1d9823c79cb429ee160080d2fda172908f0fb6d3 100644 (file)
@@ -286,6 +286,12 @@ class Notice extends Managed_DataObject
                 : $this->object_type;
     }
 
+    // activity plugins tend to use this function instead, but it's the same
+    public function getObjectType()
+    {
+        return $this->get_object_type();
+    }
+
     public static function getByUri($uri)
     {
         $notice = new Notice();