]> git.mxchange.org Git - friendica.git/commit
Move System::jsonError to BaseModule->jsonError
authorHypolite Petovan <hypolite@mrpetovan.com>
Thu, 21 Sep 2023 16:27:15 +0000 (12:27 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sun, 24 Sep 2023 11:08:15 +0000 (07:08 -0400)
commit46180d7d5b27e7544c2bf8a258857112cf44a3a0
tree1c46d522258e89307cf00e9ac49f7e51d286f8be
parent81279dad9e073367dcb133967221d224a0b2e3c1
Move System::jsonError to BaseModule->jsonError

- This will ensure headers set in BaseModule->run will be carried in jsonError scenarios
- Make BaseApi->checkThrottleLimit an object method to use BaseModule->jsonError
- Deprecate jsonError() method in Core\System
src/BaseModule.php
src/Core/System.php
src/Factory/Api/Mastodon/Error.php
src/Module/Api/Mastodon/Proofs.php
src/Module/Api/Mastodon/Statuses.php
src/Module/Api/Twitter/Statuses/Update.php
src/Module/BaseApi.php
src/Module/Circle.php
src/Module/Friendica.php
src/Module/NoScrape.php
src/Module/Profile/Profile.php