nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.52k stars 4.08k forks source link

Cleanup OC_JSON usage #8568

Open rullzer opened 6 years ago

rullzer commented 6 years ago

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:

There is probably more I missed but this is a good start to cleanup.

MorrisJobke commented 6 years ago

@schiessle as we talked about trashbin and versions ;)

juliusknorr commented 6 years ago
rullzer commented 6 years ago

@MorrisJobke yes versions and trashbin should be cleaned up. But IMO they should get an overhaul anyway,

szaimen commented 3 years ago

I suppose this issue is still valid? If not, please close this issue!

juliusknorr commented 3 years ago

Still valid

q-wertz commented 3 years ago

I think also user_ldap still relies on this. See e.g. https://github.com/nextcloud/server/issues/27871 (resp. https://github.com/nextcloud/server/issues/27871#issuecomment-895846733)