]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/BaseApi.php
Apply suggestions from code review
[friendica.git] / src / Module / BaseApi.php
index b5fc8c8499254b97e74f2ab670cc8a6b984be71a..d6e5f748f23d35976b5cf99eb84e2ddffb0ed520 100644 (file)
@@ -372,7 +372,7 @@ class BaseApi extends BaseModule
         */
        public static function appSupportsQuotes(): bool
        {
-               $token = self::getCurrentApplication();
+               $token = OAuth::getCurrentApplicationToken();
                return (!empty($token['name']) && in_array($token['name'], ['Fedilab']));
        }