X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fuser.phh;h=70441e83b49507bc41b3621e4a5bebcc1985f479;hb=4d12b4f6b7e5bf9097af057ab80f5799838623ae;hp=e195019d02136821c903a194e43a5f0dc056c668;hpb=dc266dc837089b1fcd578918e73f37008b622f77;p=brisk.git diff --git a/web/Obj/user.phh b/web/Obj/user.phh index e195019..70441e8 100644 --- a/web/Obj/user.phh +++ b/web/Obj/user.phh @@ -481,7 +481,7 @@ class User { /* INDEX_RD_IFRA PORT */ - protected function blocking_error($is_unrecoverable) + static function blocking_error($is_unrecoverable) { log_crit("BLOCKING_ERROR UNREC: ".($is_unrecoverable ? "TRUE" : "FALSE")); return (sprintf(($is_unrecoverable ? 'xstm.stop(); ' : '').'window.onbeforeunload = null; window.onunload = null; document.location.assign("index.php");')); @@ -643,6 +643,7 @@ class User { public static function stream_fini($init_string, $is_unrecoverable) { + $cla = get_called_class(); printf("xXx user::stream_fini\n"); // IF IFRAME THEN: @@ -662,9 +663,9 @@ window.onload = function () { if (xynt_streaming != \"ready\") { xynt_streaming. $body .= sprintf("", 0, escpush(self::blocking_error($is_unrecoverable)) ); +", 0, escpush(static::blocking_error($is_unrecoverable)) ); // ELSE IF XHR THEN: - // return (self::blocking_error($is_unrecoverable)); + // return (static::blocking_error($is_unrecoverable)); return ($body); }