]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Removed unnecessary assignment to SN.C.I.OStatusProfile. It can be
authorSarven Capadisli <csarven@status.net>
Mon, 22 Feb 2010 21:23:37 +0000 (22:23 +0100)
committerSarven Capadisli <csarven@status.net>
Mon, 22 Feb 2010 21:23:37 +0000 (22:23 +0100)
brought back in the future if the value is to be set directly from the
HTML script output.

plugins/OStatus/js/ostatus.js

index 8ba424a530c6fe8440662f7622ba6bd24a3d73d7..148a05f6f642586ed1702fd6d3751be52615e42d 100644 (file)
@@ -52,8 +52,7 @@ SN.U.StatusNetInstance = {
 
 SN.Init.OStatusCookie = function() {
     if (SN.U.StatusNetInstance.Get() === null) {
-        SN.C.I.OStatusProfile = SN.C.I.OStatusProfile || null;
-        SN.U.StatusNetInstance.Set({profile: SN.C.I.OStatusProfile});
+        SN.U.StatusNetInstance.Set({profile: null});
     }
 };