mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-12 06:18:52 +00:00
[ticket/12786] Some changes of the comments.
Comments and quotes PHPBB3-12786 [ticket/12786] PHPBB3-12786 Revert "[ticket/12786]" This reverts commit 61a6647101731110f67689b109de953f7449b03e.
This commit is contained in:
parent
41047bc369
commit
c9da9ec858
1 changed files with 3 additions and 3 deletions
|
@ -150,7 +150,7 @@ abstract class profilefield_base_migration extends \phpbb\db\migration\migration
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clean db after purging of extension
|
* Clean database when reverting the migration
|
||||||
*/
|
*/
|
||||||
public function delete_custom_profile_field_data()
|
public function delete_custom_profile_field_data()
|
||||||
{
|
{
|
||||||
|
@ -175,8 +175,8 @@ abstract class profilefield_base_migration extends \phpbb\db\migration\migration
|
||||||
*/
|
*/
|
||||||
public function get_custom_profile_field_id()
|
public function get_custom_profile_field_id()
|
||||||
{
|
{
|
||||||
$sql = "SELECT field_id
|
$sql = 'SELECT field_id
|
||||||
FROM " . PROFILE_FIELDS_TABLE . "
|
FROM ' . PROFILE_FIELDS_TABLE . "
|
||||||
WHERE field_name = '" . $this->profilefield_name . "'";
|
WHERE field_name = '" . $this->profilefield_name . "'";
|
||||||
$result = $this->db->sql_query($sql);
|
$result = $this->db->sql_query($sql);
|
||||||
$field_id = (int) $this->db->sql_fetchfield('field_id');
|
$field_id = (int) $this->db->sql_fetchfield('field_id');
|
||||||
|
|
Loading…
Add table
Reference in a new issue