mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-29 04:55:02 +03:00
13 lines
420 B
PHP
13 lines
420 B
PHP
<?php
|
|
|
|
class BlockUserfeedUsers extends Block
|
|
{
|
|
public function Exec() {
|
|
if ($oUserCurrent = $this->User_getUserCurrent()) {
|
|
$aUserSubscribes = $this->Userfeed_getUserSubscribes($oUserCurrent->getId());
|
|
$aFriends = $this->User_getUsersFriend($oUserCurrent->getId());
|
|
$this->Viewer_Assign('aUserfeedSubscribedUsers', $aUserSubscribes['users']);
|
|
$this->Viewer_Assign('aUserfeedFriends', $aFriends);
|
|
}
|
|
}
|
|
} |