Home » Authentication » Auth » Bug #6489
checkAuth() is marked private, should be public
Details
| Submitted | 2006-01-14 12:03 UTC |
|---|---|
| From | addw at phcomp dot co dot uk |
| Assigned | aashley |
| Status | Wont fix |
| Package | Auth |
| PHP Version | Irrelevant |
| OS | any |
| Roadmaps | (Not assigned) |
Comments
[2006-01-14 12:03 UTC] addw at phcomp dot co dot uk
Description:
------------
The function checkAuth() has '@access private', but it should be '@access public'.
Minor, but it helps with understanding.
checkAuth() really is needed to make applications work, well that is what I found anyway.
[2006-02-21 04:56 UTC] aashley at php dot net
The correct public listed function to call is Auth::getAuth() not checkAuth(). getAuth() is just a public defined wrapper around checkAuth() but checkAuth() is used in several other wrappers, calling thru getAuth() gives an indication on what behaviour is expected in the backtrace when debuging