aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2013-09-16 03:50:47 +0200
committerNils Adermann <naderman@naderman.de>2013-09-16 03:50:47 +0200
commit3860b37741c21576dae2f02e3754aa322c24567f (patch)
tree7eea95a08ae14a57a4da414d1ce717df2bd6915e /phpBB/phpbb
parent8fd84ae87933a3fa537fc7d1496da08ff2be811a (diff)
downloadforums-3860b37741c21576dae2f02e3754aa322c24567f.tar
forums-3860b37741c21576dae2f02e3754aa322c24567f.tar.gz
forums-3860b37741c21576dae2f02e3754aa322c24567f.tar.bz2
forums-3860b37741c21576dae2f02e3754aa322c24567f.tar.xz
forums-3860b37741c21576dae2f02e3754aa322c24567f.zip
[ticket/11700] Actually "one" in comments is not a class
PHPBB3-11700
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/auth/auth.php2
-rw-r--r--phpBB/phpbb/db/tools.php2
-rw-r--r--phpBB/phpbb/session.php6
3 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/phpbb/auth/auth.php b/phpBB/phpbb/auth/auth.php
index 5c76b64281..05d7d5e97b 100644
--- a/phpBB/phpbb/auth/auth.php
+++ b/phpBB/phpbb/auth/auth.php
@@ -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
diff --git a/phpBB/phpbb/db/tools.php b/phpBB/phpbb/db/tools.php
index f594fbe63f..8ae58e2d4b 100644
--- a/phpBB/phpbb/db/tools.php
+++ b/phpBB/phpbb/db/tools.php
@@ -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;
diff --git a/phpBB/phpbb/session.php b/phpBB/phpbb/session.php
index 6925ebbc6a..2bfa55334d 100644
--- a/phpBB/phpbb/session.php
+++ b/phpBB/phpbb/session.php
@@ -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