sammarks / ablecore

A library for Drupal developers.
MIT License
5 stars 4 forks source link

Make User::current() match the behavior of the other classes. #22

Closed sammarks closed 10 years ago

sammarks commented 10 years ago

Currently, the current() method returns the current logged-in user, which is not predictable when compared to what the other classes return.

Rename the current() function to something else in the User class. Perhaps loggedIn or something like that.