In services_oauth.inc there is this clause that an empty $context object is defined if there is not context available. Afterwards this $context object is never used so hence the uselessness of this assignment.

CommentFileSizeAuthor
#4 1940840-committed.patch1.3 KBygerasimov
#1 1940840-1.patch667 bytesnick_vh

Comments

nick_vh’s picture

StatusFileSize
new667 bytes
nick_vh’s picture

Status: Active » Needs review
marcingy’s picture

Status: Needs review » Reviewed & tested by the community

Makes sense

ygerasimov’s picture

Status: Reviewed & tested by the community » Fixed
StatusFileSize
new1.3 KB

Thank you very much Nick. I have committed slightly modified patch (attached).

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.