mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Some cleanup...😣 (#1488)
* Some cleanup...😣
* Update main.php
* Update CHANGELOG.md
* Update main.php
* Update main.php
* Update main.php
* Update main.php
* Update main.php
* Update main.php
* Update main.php
* Update main.php
* Update main.php
* Update main.php
* Update main.php
* Update main.php
* Update main.php
* Update config.php
* Update Common.php
* Updated
* Update filelist.php
* Update filelist.php
* Update viewtopic_attach.tpl
* Updated
This commit is contained in:
parent
ce6923b160
commit
237e7ec6ef
13 changed files with 65 additions and 71 deletions
|
@ -60,13 +60,17 @@ switch ($mode) {
|
|||
// Обновление кеша новостей на главной
|
||||
$news_forums = array_flip(explode(',', $bb_cfg['latest_news_forum_id']));
|
||||
if (isset($news_forums[$t_data['forum_id']]) && $bb_cfg['show_latest_news']) {
|
||||
$datastore->enqueue('latest_news');
|
||||
$datastore->enqueue([
|
||||
'latest_news'
|
||||
]);
|
||||
$datastore->update('latest_news');
|
||||
}
|
||||
|
||||
$net_forums = array_flip(explode(',', $bb_cfg['network_news_forum_id']));
|
||||
if (isset($net_forums[$t_data['forum_id']]) && $bb_cfg['show_network_news']) {
|
||||
$datastore->enqueue('network_news');
|
||||
$datastore->enqueue([
|
||||
'network_news'
|
||||
]);
|
||||
$datastore->update('network_news');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue