mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 12:03:21 +01:00
[ticket/11700] Actually "one" in comments is not a class
PHPBB3-11700
This commit is contained in:
parent
8fd84ae879
commit
3860b37741
@ -1007,7 +1007,7 @@ class auth
|
||||
// Successful session creation
|
||||
if ($result === true)
|
||||
{
|
||||
// If admin re-authentication we remove the old session entry because a new \one has been created...
|
||||
// If admin re-authentication we remove the old session entry because a new one has been created...
|
||||
if ($admin)
|
||||
{
|
||||
// the login array is used because the user ids do not differ for re-authentication
|
||||
|
@ -1072,7 +1072,7 @@ class tools
|
||||
{
|
||||
$new_table_cols[] = 'PRIMARY KEY (' . implode(', ', $sql_schema_changes['primary_key']) . ')';
|
||||
}
|
||||
// Add a new \one or the old primary key
|
||||
// Add a new one or the old primary key
|
||||
else if ($primary_key !== false)
|
||||
{
|
||||
$new_table_cols[] = $primary_key;
|
||||
|
@ -199,7 +199,7 @@ class session
|
||||
* This is where all session activity begins. We gather various pieces of
|
||||
* information from the client and server. We test to see if a session already
|
||||
* exists. If it does, fine and dandy. If it doesn't we'll go on to create a
|
||||
* new \one ... pretty logical heh? We also examine the system load (if we're
|
||||
* new one ... pretty logical heh? We also examine the system load (if we're
|
||||
* running on a system which makes such information readily available) and
|
||||
* halt if it's above an admin definable limit.
|
||||
*
|
||||
@ -494,7 +494,7 @@ class session
|
||||
}
|
||||
}
|
||||
|
||||
// If we reach here then no (valid) session exists. So we'll create a new \one
|
||||
// If we reach here then no (valid) session exists. So we'll create a new one
|
||||
return $this->session_create();
|
||||
}
|
||||
|
||||
@ -801,7 +801,7 @@ class session
|
||||
|
||||
// Something quite important: session_page always holds the *last* page visited, except for the *first* visit.
|
||||
// We are not able to simply have an empty session_page btw, therefore we need to tell phpBB how to detect this special case.
|
||||
// If the session id is empty, we have a completely new \one and will set an "identifier" here. This identifier is able to be checked later.
|
||||
// If the session id is empty, we have a completely new one and will set an "identifier" here. This identifier is able to be checked later.
|
||||
if (empty($this->data['session_id']))
|
||||
{
|
||||
// This is a temporary variable, only set for the very first visit
|
||||
|
Loading…
x
Reference in New Issue
Block a user