]> git.mxchange.org Git - friendica.git/commitdiff
The function is only needed in the same class
authorMichael <heluecht@pirati.ca>
Wed, 3 Oct 2018 09:45:54 +0000 (09:45 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 3 Oct 2018 09:45:54 +0000 (09:45 +0000)
src/Protocol/ActivityPub/Transmitter.php

index aeb27a819ceddc16ee1868077b0e869bbc5e656d..17ad0d350fa8db0098ad0a20074596ec307098cd 100644 (file)
@@ -442,7 +442,7 @@ class Transmitter
         *
         * @return activity type
         */
-       public static function getTypeOfItem($item)
+       private static function getTypeOfItem($item)
        {
                if ($item['verb'] == ACTIVITY_POST) {
                        if ($item['created'] == $item['edited']) {