aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStanislav Atanasov <lucifer@anavaro.com>2014-06-29 23:51:40 +0300
committerStanislav Atanasov <lucifer@anavaro.com>2014-07-03 20:18:51 +0300
commitc9da9ec8587bc3e74e7a0f5a79a232865592f6ce (patch)
treed394817f77730c8290f7b42bae7fec9950f038eb
parent41047bc369e3919fe855c7a03d7d1bc7965092be (diff)
downloadforums-c9da9ec8587bc3e74e7a0f5a79a232865592f6ce.tar
forums-c9da9ec8587bc3e74e7a0f5a79a232865592f6ce.tar.gz
forums-c9da9ec8587bc3e74e7a0f5a79a232865592f6ce.tar.bz2
forums-c9da9ec8587bc3e74e7a0f5a79a232865592f6ce.tar.xz
forums-c9da9ec8587bc3e74e7a0f5a79a232865592f6ce.zip
[ticket/12786] Some changes of the comments.
Comments and quotes PHPBB3-12786 [ticket/12786] PHPBB3-12786 Revert "[ticket/12786]" This reverts commit 61a6647101731110f67689b109de953f7449b03e.
-rw-r--r--phpBB/phpbb/db/migration/profilefield_base_migration.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/db/migration/profilefield_base_migration.php b/phpBB/phpbb/db/migration/profilefield_base_migration.php
index 63cc1b827f..9bc789779b 100644
--- a/phpBB/phpbb/db/migration/profilefield_base_migration.php
+++ b/phpBB/phpbb/db/migration/profilefield_base_migration.php
@@ -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()
{
@@ -175,8 +175,8 @@ abstract class profilefield_base_migration extends \phpbb\db\migration\migration
*/
public function get_custom_profile_field_id()
{
- $sql = "SELECT field_id
- FROM " . PROFILE_FIELDS_TABLE . "
+ $sql = 'SELECT field_id
+ FROM ' . PROFILE_FIELDS_TABLE . "
WHERE field_name = '" . $this->profilefield_name . "'";
$result = $this->db->sql_query($sql);
$field_id = (int) $this->db->sql_fetchfield('field_id');