Fixed Streams::related method. relatedTo and relatedFrom are wrong variables, replaced with relatedToArray and relatedFromArray in params of events called. And added param relation type to params of events called (Streams/relatedTo/[categoryType], Streams/relatedFrom/[categoryType], before and after).
Fixed Streams::related method. relatedTo and relatedFrom are wrong variables, replaced with relatedToArray and relatedFromArray in params of events called.
And added param relation type to params of events called (Streams/relatedTo/[categoryType], Streams/relatedFrom/[categoryType], before and after).

EGreg/Platform,AndreyTepaykin/Platform,EGreg/Platform,AndreyTepaykin/Platform,EGreg/Platform,AndreyTepaykin/Platform,Qbix/Platform,AndreyTepaykin/Platform,Qbix/Platform,Qbix/Platform,Qbix/Platform,EGreg/Platform