-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Cleanup OC_JSON usage #8568
Copy link
Copy link
Closed
Labels
2. developingWork in progressWork in progressgood first issueSmall tasks with clear documentation about how and in which place you need to fix things in.Small tasks with clear documentation about how and in which place you need to fix things in.technical debt🧱 🤔🚀🧱 🤔🚀
Description
OCP\JSON removed, only OC_JSON todo
Since this is deprecated API we should really get rid of it sooner rather than later! Especially since it returns invalid status codes for errors (200 usually).
For checkedLoggedIn:
- files_version:
-
OCP\JSON::checkLoggedIn(); -
server/apps/files_versions/download.php
Line 29 in 70b1f51
OCP\JSON::checkLoggedIn(); -
OCP\JSON::checkLoggedIn(); -
server/apps/files_trashbin/ajax/list.php
Line 24 in 813f0a0
OCP\JSON::checkLoggedIn(); -
OCP\JSON::checkLoggedIn();
-
- files_trashbin:
-
OCP\JSON::checkLoggedIn(); -
OCP\JSON::checkLoggedIn();
-
- files_external:
-
OCP\JSON::checkLoggedIn();
-
- files:
-
OCP\JSON::checkLoggedIn(); -
server/apps/files/ajax/list.php
Line 30 in eb51f06
OCP\JSON::checkLoggedIn();
-
- core
-
server/core/search/ajax/search.php
Line 29 in 0215b00
\OCP\JSON::checkLoggedIn();
-
There is probably more I missed but this is a good start to cleanup.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
2. developingWork in progressWork in progressgood first issueSmall tasks with clear documentation about how and in which place you need to fix things in.Small tasks with clear documentation about how and in which place you need to fix things in.technical debt🧱 🤔🚀🧱 🤔🚀