X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2FObj%2Fuser.phh;h=8beb49bfdd4fe54923ba1c2e1d14858152c4c0d9;hb=7bb29caf1761665d81089090d1df1153b5d2bab9;hp=761c9cc6128398e1f34e5e5ee7a9a9b62b1549ad;hpb=380e4f95319a328524a764956fb802d991864bf7;p=brisk.git
diff --git a/web/Obj/user.phh b/web/Obj/user.phh
index 761c9cc..8beb49b 100644
--- a/web/Obj/user.phh
+++ b/web/Obj/user.phh
@@ -944,31 +944,22 @@ push(\"%s\");
return TRUE;
}
-function stream_keepalive()
+function stream_keepalive($with_ping)
{
return (sprintf("", $this->rd_scristp++));
+", $this->rd_scristp++, ($with_ping ? "\"act_ping();\"" : "null")));
}
-function stream_ping()
+static function base_get()
{
- return (sprintf("", $this->rd_scristp++));
-
+ $c = get_called_class();
+ printf("CALLED_CLASS: [%s]\n", $c);
+ return $c::BASE;
}
- static function base_get()
- {
- $c = get_called_class();
- printf("CALLED_CLASS: [%s]\n", $c);
- return $c::BASE;
- }
-
} // end class User