diff --git a/core/js/eventsource.js b/core/js/eventsource.js index 0c2a995f331..f783ade7ae9 100644 --- a/core/js/eventsource.js +++ b/core/js/eventsource.js @@ -40,7 +40,7 @@ OC.EventSource=function(src,data){ dataStr+=name+'='+encodeURIComponent(data[name])+'&'; } } - dataStr+='requesttoken='+OC.EventSource.requesttoken; + dataStr+='requesttoken='+oc_requesttoken; if(!this.useFallBack && typeof EventSource !='undefined'){ var joinChar = '&'; if(src.indexOf('?') == -1) { diff --git a/core/templates/update.php b/core/templates/update.php index c9f3144f257..c65230db0d6 100644 --- a/core/templates/update.php +++ b/core/templates/update.php @@ -5,7 +5,6 @@