diff options
author | Marc Alexander <admin@m-a-styles.de> | 2014-08-21 20:49:41 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2014-08-21 20:49:41 +0200 |
commit | 7483d01942d73d83c77119680395e2c757f9fbc7 (patch) | |
tree | edb9f6e63fa17e0defc540e84f9ef56aa00f4e07 /phpBB | |
parent | a7a05ca75cd646a3d262f3a4b0c67dad3ba0b385 (diff) | |
parent | afb9d0a3d7b9a85fcc8d5b46e636d7c9402da881 (diff) | |
download | forums-7483d01942d73d83c77119680395e2c757f9fbc7.tar forums-7483d01942d73d83c77119680395e2c757f9fbc7.tar.gz forums-7483d01942d73d83c77119680395e2c757f9fbc7.tar.bz2 forums-7483d01942d73d83c77119680395e2c757f9fbc7.tar.xz forums-7483d01942d73d83c77119680395e2c757f9fbc7.zip |
Merge pull request #2898 from Nicofuma/ticket/12990
[ticket/12990] Use {$var} instead of ${var}
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/phpbb/db/migration/data/v310/notifications_use_full_name.php | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/phpBB/phpbb/db/migration/data/v310/notifications_use_full_name.php b/phpBB/phpbb/db/migration/data/v310/notifications_use_full_name.php index 1cb2e250c5..30168f4b0b 100644 --- a/phpBB/phpbb/db/migration/data/v310/notifications_use_full_name.php +++ b/phpBB/phpbb/db/migration/data/v310/notifications_use_full_name.php @@ -66,8 +66,8 @@ class notifications_use_full_name extends \phpbb\db\migration\migration foreach ($this->notification_methods as $notification_method) { $sql = 'UPDATE ' . USER_NOTIFICATIONS_TABLE . " - SET method = 'notification.method.${notification_method}' - WHERE method = '${notification_method}'"; + SET method = 'notification.method.{$notification_method}' + WHERE method = '{$notification_method}'"; $this->db->sql_query($sql); } } @@ -77,8 +77,8 @@ class notifications_use_full_name extends \phpbb\db\migration\migration foreach ($this->notification_methods as $notification_method) { $sql = 'UPDATE ' . USER_NOTIFICATIONS_TABLE . " - SET method = '${notification_method}' - WHERE method = 'notification.method.${notification_method}'"; + SET method = '{$notification_method}' + WHERE method = 'notification.method.{$notification_method}'"; $this->db->sql_query($sql); } } @@ -88,13 +88,13 @@ class notifications_use_full_name extends \phpbb\db\migration\migration foreach ($this->notification_types as $notification_type) { $sql = 'UPDATE ' . NOTIFICATION_TYPES_TABLE . " - SET notification_type_name = 'notification.type.${notification_type}' - WHERE notification_type_name = '${notification_type}'"; + SET notification_type_name = 'notification.type.{$notification_type}' + WHERE notification_type_name = '{$notification_type}'"; $this->db->sql_query($sql); $sql = 'UPDATE ' . USER_NOTIFICATIONS_TABLE . " - SET item_type = 'notification.type.${notification_type}' - WHERE item_type = '${notification_type}'"; + SET item_type = 'notification.type.{$notification_type}' + WHERE item_type = '{$notification_type}'"; $this->db->sql_query($sql); } } @@ -104,13 +104,13 @@ class notifications_use_full_name extends \phpbb\db\migration\migration foreach ($this->notification_types as $notification_type) { $sql = 'UPDATE ' . NOTIFICATION_TYPES_TABLE . " - SET notification_type_name = '${notification_type}' - WHERE notification_type_name = 'notification.type.${notification_type}'"; + SET notification_type_name = '{$notification_type}' + WHERE notification_type_name = 'notification.type.{$notification_type}'"; $this->db->sql_query($sql); $sql = 'UPDATE ' . USER_NOTIFICATIONS_TABLE . " - SET item_type = '${notification_type}' - WHERE item_type = 'notification.type.${notification_type}'"; + SET item_type = '{$notification_type}' + WHERE item_type = 'notification.type.{$notification_type}'"; $this->db->sql_query($sql); } } |