Depreciated classes?


app:check brings some errors.
e.g. OCP\JSON - Static method of deprecated class must not be called
its complaining about \OCP\JSON::checkLoggedIn();

how do I fix it?
the V9 Dev Manual still explains to use these

Well basically you don’t use the old style with ajax endpoints, but use full controllers instead:
In that case, checkedLoggedIn is checked by default, other options are listed near the end: