Zeile 323 | Zeile 323 |
---|
// Set up some defaults $time = TIME_NOW; $mybb->user['usergroup'] = 1;
|
// Set up some defaults $time = TIME_NOW; $mybb->user['usergroup'] = 1;
|
| $mybb->user['additionalgroups'] = '';
|
$mybb->user['username'] = ''; $mybb->user['uid'] = 0; $mybbgroups = 1;
| $mybb->user['username'] = ''; $mybb->user['uid'] = 0; $mybbgroups = 1;
|
Zeile 503 | Zeile 504 |
---|
{ $db->delete_query("sessions", "sid='{$this->sid}'"); }
|
{ $db->delete_query("sessions", "sid='{$this->sid}'"); }
|
// Else delete by ip.
| |
else {
|
else {
|
$db->delete_query("sessions", "ip=".$db->escape_binary($this->packedip));
| |
$onlinedata['uid'] = 0; }
| $onlinedata['uid'] = 0; }
|