]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Attach.php
Merge pull request #7063 from nupplaphil/task/mod_amcd
[friendica.git] / src / Module / Attach.php
index eed1275c58cbb52d2729ebae171c7565831189a7..dd4e368058b7c3583424dfed3122aef629f789d1 100644 (file)
@@ -18,11 +18,9 @@ use Friendica\Model\Attach as MAttach;
 class Attach extends BaseModule
 {
        /**
-        * @brief Module initializer
-        *
-        * Fetch an attached file given the id
+        * @brief Return to user an attached file given the id
         */
-       public static function init()
+       public static function rawContent()
        {
                $a = self::getApp();
                if ($a->argc != 2) {
@@ -64,4 +62,4 @@ class Attach extends BaseModule
                exit();
                // NOTREACHED
        }
-}
\ No newline at end of file
+}