mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-01 05:55:02 +03:00
fix Issue #234
This commit is contained in:
parent
db5165c216
commit
00bbcb5e04
|
@ -189,12 +189,6 @@ class ActionStream extends Action {
|
|||
* Устанавливаем формат Ajax ответа
|
||||
*/
|
||||
$this->Viewer_SetResponseAjax('json');
|
||||
/**
|
||||
* Пользователь авторизован?
|
||||
*/
|
||||
if (!$this->oUserCurrent) {
|
||||
return parent::EventNotFound();
|
||||
}
|
||||
/**
|
||||
* Необходимо передать последний просмотренный ID событий
|
||||
*/
|
||||
|
@ -230,12 +224,6 @@ class ActionStream extends Action {
|
|||
* Устанавливаем формат Ajax ответа
|
||||
*/
|
||||
$this->Viewer_SetResponseAjax('json');
|
||||
/**
|
||||
* Пользователь авторизован?
|
||||
*/
|
||||
if (!$this->oUserCurrent) {
|
||||
return parent::EventNotFound();
|
||||
}
|
||||
/**
|
||||
* Необходимо передать последний просмотренный ID событий
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue