joomla-projects / webservices

Webservices working group repository
GNU General Public License v2.0
16 stars 9 forks source link

Remove isAdmin function #21

Closed wilsonge closed 9 years ago

wilsonge commented 9 years ago

This check was here because in the old RedCore plugin we were calling the CMS JApplicationCms::isAdmin() - I just noticed that @chrisdavenport wants to merge the site and admin api's together (https://github.com/joomla-projects/webservices/issues/5) so for now I'm removing this function and just defaulting to site when we try and get a value from the supergobal.

wilsonge commented 9 years ago

Conflicts with chris' changes. will redo on a unconflicted version later

wilsonge commented 9 years ago

Fixed in https://github.com/joomla-projects/webservices/commit/3477f89e97e97b8742fcd0c65ec744117f39db70