mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 05:43:55 -07:00
Used datastore to show statistic for more performance (#1309)
* Used datastore to show statistic for more performance * Update admin_forums.php
This commit is contained in:
parent
f48e7121df
commit
6bf987edb0
4 changed files with 11 additions and 46 deletions
|
@ -472,6 +472,7 @@ if ($mode) {
|
|||
fix_orphan_sf();
|
||||
\TorrentPier\Legacy\Group::update_user_level('all');
|
||||
$datastore->update('cat_forums');
|
||||
$datastore->update('stats');
|
||||
CACHE('bb_cache')->rm();
|
||||
|
||||
bb_die($lang['FORUMS_UPDATED'] . '<br /><br />' . sprintf($lang['CLICK_RETURN_FORUMADMIN'], '<a href="admin_forums.php">', '</a>') . '<br /><br />' . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], '<a href="index.php?pane=right">', '</a>'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue