mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/11700] Fix a few more comments
PHPBB3-11700
This commit is contained in:
@@ -216,7 +216,7 @@ class release_3_0_6_rc1 extends \phpbb\db\migration\migration
|
||||
$group_id = $this->db->sql_nextid();
|
||||
}
|
||||
|
||||
// Insert new \user role... at the end of the chain
|
||||
// Insert new user role... at the end of the chain
|
||||
$sql = 'SELECT role_id
|
||||
FROM ' . ACL_ROLES_TABLE . "
|
||||
WHERE role_name = 'ROLE_USER_NEW_MEMBER'
|
||||
@@ -241,7 +241,7 @@ class release_3_0_6_rc1 extends \phpbb\db\migration\migration
|
||||
$u_role = $this->db->sql_nextid();
|
||||
|
||||
// Now add the correct data to the roles...
|
||||
// The standard role says that new \users are not able to send a PM, Mass PM, are not able to PM groups
|
||||
// The standard role says that new users are not able to send a PM, Mass PM, are not able to PM groups
|
||||
$sql = 'INSERT INTO ' . ACL_ROLES_DATA_TABLE . " (role_id, auth_option_id, auth_setting) SELECT $u_role, auth_option_id, 0 FROM " . ACL_OPTIONS_TABLE . " WHERE auth_option LIKE 'u_%' AND auth_option IN ('u_sendpm', 'u_masspm', 'u_masspm_group')";
|
||||
$this->sql_query($sql);
|
||||
|
||||
@@ -250,7 +250,7 @@ class release_3_0_6_rc1 extends \phpbb\db\migration\migration
|
||||
$this->sql_query($sql);
|
||||
}
|
||||
|
||||
// Insert new \forum role
|
||||
// Insert new forum role
|
||||
$sql = 'SELECT role_id
|
||||
FROM ' . ACL_ROLES_TABLE . "
|
||||
WHERE role_name = 'ROLE_FORUM_NEW_MEMBER'
|
||||
@@ -278,7 +278,7 @@ class release_3_0_6_rc1 extends \phpbb\db\migration\migration
|
||||
$this->sql_query($sql);
|
||||
}
|
||||
|
||||
// Set every members user_new \column to 0 (old users) only if there is no one yet (this makes sure we do not execute this more than once)
|
||||
// Set every members user_new column to 0 (old users) only if there is no one yet (this makes sure we do not execute this more than once)
|
||||
$sql = 'SELECT 1
|
||||
FROM ' . USERS_TABLE . '
|
||||
WHERE user_new = 0';
|
||||
|
@@ -185,7 +185,7 @@ class dev extends \phpbb\db\migration\migration
|
||||
|
||||
public function move_customise_modules()
|
||||
{
|
||||
// Move language management to new \location in the Customise tab
|
||||
// Move language management to new location in the Customise tab
|
||||
// First get language module id
|
||||
$sql = 'SELECT module_id FROM ' . MODULES_TABLE . "
|
||||
WHERE module_basename = 'acp_language'";
|
||||
|
@@ -65,7 +65,7 @@ class timezone extends \phpbb\db\migration\migration
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine the new \timezone for a given phpBB 3.0 timezone and
|
||||
* Determine the new timezone for a given phpBB 3.0 timezone and
|
||||
* "Daylight Saving Time" option
|
||||
*
|
||||
* @param $timezone float Users timezone in 3.0
|
||||
|
@@ -18,7 +18,7 @@ if (!defined('IN_PHPBB'))
|
||||
}
|
||||
|
||||
/**
|
||||
* The migrator is responsible for applying new \migrations in the correct order.
|
||||
* The migrator is responsible for applying new migrations in the correct order.
|
||||
*
|
||||
* @package db
|
||||
*/
|
||||
@@ -66,8 +66,8 @@ class exception extends \Exception
|
||||
}
|
||||
|
||||
/**
|
||||
* Get localised message (\with $user->lang())
|
||||
*
|
||||
* Get localised message (with $user->lang())
|
||||
*
|
||||
* @param \phpbb\user $user
|
||||
* @return string
|
||||
*/
|
||||
|
@@ -80,7 +80,7 @@ class config implements \phpbb\db\migration\tool\tool_interface
|
||||
* current config value
|
||||
*
|
||||
* @param string $compare If equal to the current config value, will be
|
||||
* updated to the new \config value, otherwise not
|
||||
* updated to the new config value, otherwise not
|
||||
* @param string $config_name The name of the config setting you would
|
||||
* like to update
|
||||
* @param mixed $config_value The value of the config setting
|
||||
|
@@ -131,7 +131,7 @@ class module implements \phpbb\db\migration\tool\tool_interface
|
||||
/**
|
||||
* Module Add
|
||||
*
|
||||
* Add a new \module
|
||||
* Add a new module
|
||||
*
|
||||
* @param string $class The module class(acp|mcp|ucp)
|
||||
* @param int|string $parent The parent module_id|module_langname (0 for no parent)
|
||||
|
@@ -238,7 +238,7 @@ class permission implements \phpbb\db\migration\tool\tool_interface
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a new \permission role
|
||||
* Add a new permission role
|
||||
*
|
||||
* @param string $role_name The new \role name
|
||||
* @param sting $role_type The type (u_, m_, a_)
|
||||
|
Reference in New Issue
Block a user