]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/Widget/CalendarExport.php
Merge pull request #8089 from mexon/mat/repair-contact-photo
[friendica.git] / src / Content / Widget / CalendarExport.php
index c78ca21ebe6f4ad286c999c2b493186d0c4026cf..a6fea1e8a18f10eecfe6dec11c9cf1511763a313 100644 (file)
@@ -9,6 +9,7 @@ namespace Friendica\Content\Widget;
 use Friendica\Content\Feature;
 use Friendica\Core\L10n;
 use Friendica\Core\Renderer;
+use Friendica\DI;
 
 /**
  * TagCloud widget
@@ -24,7 +25,7 @@ class CalendarExport
         * @throws \Friendica\Network\HTTPException\InternalServerErrorException
         */
        public static function getHTML() {
-               $a = \get_app();
+               $a = DI::app();
 
                if (empty($a->data['user'])) {
                        return;