blob: 82cd4e3964bdb8d694cd94cc16298ac5e443ea99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php
namespace Bitweaver\Feed;
global $gBitDb,$gQueryUser,$gBitSmarty;
require_once FEED_PKG_INCLUDE_PATH.'feed_lib.php';
if( !empty($gQueryUser) ){
if( !empty( $moduleParams['module_params']['no_link_user'] ) ) {
$listHash['no_link_user'] = true;
}
if( !empty( $moduleParams['module_rows'] ) ) {
$listHash['max_records'] = $moduleParams['module_rows'];
}
$listHash['user_id'] = $gQueryUser->mUserId;
$actions = feed_get_actions( $listHash );
$gBitSmarty->assign( 'actions', $actions);
}
|