joomla-projects / webservices

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

Remove the session dependency from the webservices app #23

Closed wilsonge closed 9 years ago

wilsonge commented 9 years ago

In the original RedCore messages were enqueued through the Joomla JApplicationCms::enqueueMessage function (which pushes them through JSession when redirects occur). However we don't actually ever do redirects in the webservices app (the only occasion is redirecting to a documentation page - which is something that will never trigger a message at present). Therefore there is no need to ever have a Session dependency in the application

chrisdavenport commented 9 years ago

Can the references to session be removed from lines 17 and 47 of src/Application.php too?

wilsonge commented 9 years ago

Yup - good spot!