mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Split functions to the composer autoloading
Signed-off-by: Yuriy Pikhtarev <iglix@me.com>
This commit is contained in:
parent
6aae72b836
commit
83ca67fae6
75 changed files with 3612 additions and 3184 deletions
|
@ -68,7 +68,7 @@ if ($logged_in && empty($gen_simple_header) && !defined('IN_ADMIN')) {
|
|||
if ($userdata['user_last_privmsg'] > $userdata['user_lastvisit'] && defined('IN_PM')) {
|
||||
$userdata['user_last_privmsg'] = $userdata['user_lastvisit'];
|
||||
|
||||
db_update_userdata($userdata, array(
|
||||
\TorrentPier\Legacy\Sessions::db_update_userdata($userdata, array(
|
||||
'user_last_privmsg' => $userdata['user_lastvisit'],
|
||||
));
|
||||
|
||||
|
@ -91,7 +91,7 @@ if ($logged_in && empty($gen_simple_header) && !defined('IN_ADMIN')) {
|
|||
if ($userdata['user_unread_privmsg'] != $real_unread_pm_count) {
|
||||
$userdata['user_unread_privmsg'] = $real_unread_pm_count;
|
||||
|
||||
db_update_userdata($userdata, array(
|
||||
\TorrentPier\Legacy\Sessions::db_update_userdata($userdata, array(
|
||||
'user_unread_privmsg' => $real_unread_pm_count,
|
||||
));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue