owncloud/core — pull request #1326 by MTGap (2013-01-26 22:02:06+00:00)
Title: Use global oc_requesttoken for Event Source

The OC.EventSource.requesttoken variable is undefined and I've been manually setting it. If it is undefined it causes ajax requests to spawn every 10 seconds or so. I'm not sure how to fix that problem. I've replaced OC.EventSource.requesttoken with oc_requesttoken.

@icewind1991