owncloud/gallery — pull request #66 by butonic (2014-07-17 10:06:57+00:00)
Title: use accessor to get session

see owncloud/core#9681

This can safely be backported to OC7 because the server container already contains a getSession() that in turn returns \OC::$session.

@icewind1991 @DeepDiver1975 @karlitschek @craigpg