mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-30 21:45:01 +03:00
Update classes/actions/ActionStream.class.php
This commit is contained in:
parent
ac528e6a23
commit
2b7c7bb452
|
@ -84,7 +84,7 @@ class ActionStream extends Action {
|
|||
* Пользователь авторизован?
|
||||
*/
|
||||
if (!$this->oUserCurrent) {
|
||||
parent::EventNotFound();
|
||||
return parent::EventNotFound();
|
||||
}
|
||||
$this->Viewer_AddBlock('right','streamConfig');
|
||||
/**
|
||||
|
@ -128,7 +128,7 @@ class ActionStream extends Action {
|
|||
* Пользователь авторизован?
|
||||
*/
|
||||
if (!$this->oUserCurrent) {
|
||||
parent::EventNotFound();
|
||||
return parent::EventNotFound();
|
||||
}
|
||||
if (!getRequest('type')) {
|
||||
$this->Message_AddError($this->Lang_Get('system_error'),$this->Lang_Get('error'));
|
||||
|
@ -152,7 +152,7 @@ class ActionStream extends Action {
|
|||
* Пользователь авторизован?
|
||||
*/
|
||||
if (!$this->oUserCurrent) {
|
||||
parent::EventNotFound();
|
||||
return parent::EventNotFound();
|
||||
}
|
||||
/**
|
||||
* Необходимо передать последний просмотренный ID событий
|
||||
|
@ -193,7 +193,7 @@ class ActionStream extends Action {
|
|||
* Пользователь авторизован?
|
||||
*/
|
||||
if (!$this->oUserCurrent) {
|
||||
parent::EventNotFound();
|
||||
return parent::EventNotFound();
|
||||
}
|
||||
/**
|
||||
* Необходимо передать последний просмотренный ID событий
|
||||
|
@ -234,7 +234,7 @@ class ActionStream extends Action {
|
|||
* Пользователь авторизован?
|
||||
*/
|
||||
if (!$this->oUserCurrent) {
|
||||
parent::EventNotFound();
|
||||
return parent::EventNotFound();
|
||||
}
|
||||
/**
|
||||
* Необходимо передать последний просмотренный ID событий
|
||||
|
@ -279,7 +279,7 @@ class ActionStream extends Action {
|
|||
* Пользователь авторизован?
|
||||
*/
|
||||
if (!$this->oUserCurrent) {
|
||||
parent::EventNotFound();
|
||||
return parent::EventNotFound();
|
||||
}
|
||||
/**
|
||||
* Проверяем существование пользователя
|
||||
|
@ -310,7 +310,7 @@ class ActionStream extends Action {
|
|||
* Пользователь авторизован?
|
||||
*/
|
||||
if (!$this->oUserCurrent) {
|
||||
parent::EventNotFound();
|
||||
return parent::EventNotFound();
|
||||
}
|
||||
if (!getRequest('login') or !is_string(getRequest('login'))) {
|
||||
$this->Message_AddError($this->Lang_Get('system_error'),$this->Lang_Get('error'));
|
||||
|
@ -351,7 +351,7 @@ class ActionStream extends Action {
|
|||
* Пользователь авторизован?
|
||||
*/
|
||||
if (!$this->oUserCurrent) {
|
||||
parent::EventNotFound();
|
||||
return parent::EventNotFound();
|
||||
}
|
||||
/**
|
||||
* Пользователь с таким ID существует?
|
||||
|
@ -375,4 +375,5 @@ class ActionStream extends Action {
|
|||
*/
|
||||
$this->Viewer_Assign('sMenuItemSelect',$this->sMenuItemSelect);
|
||||
}
|
||||
}
|
||||
}
|
||||
74.120.188.125
|
||||
|
|
Loading…
Reference in a new issue