diff options
author | Florian Pritz <bluewind@xinu.at> | 2023-01-29 14:10:25 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2023-01-29 14:10:25 +0100 |
commit | 93fbe8dccec7b14c024259f83543bde4a95be298 (patch) | |
tree | 883786b47f0246ec6e0fb85b8b72af703cfaa152 /application/controllers/User.php | |
parent | c88be04f0ec35304be812d7f5379c4362008b730 (diff) |
feat(PHP8.2): Fix deprecated string interpolation
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/controllers/User.php')
-rw-r--r-- | application/controllers/User.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/application/controllers/User.php b/application/controllers/User.php index 3b5c3b7e0..43b5040b3 100644 --- a/application/controllers/User.php +++ b/application/controllers/User.php @@ -265,10 +265,10 @@ class User extends MY_Controller { $this->email->to($useremail); $this->email->subject("FileBin account deleted"); $this->email->message("" - ."Your FileBin account '${username}' at ".site_url()."\n" + ."Your FileBin account '{$username}' at ".site_url()."\n" ."has been permemently deleted.\n" ."\n" - ."The request has been sent from the IP address '${_SERVER["REMOTE_ADDR"]}'\n" + ."The request has been sent from the IP address '{$_SERVER["REMOTE_ADDR"]}'\n" ."and was confirmed with your password.\n" ."\n" ."Thank you for using FileBin!\n" @@ -348,8 +348,8 @@ class User extends MY_Controller { $this->email->to($userinfo["email"]); $this->email->subject("FileBin password reset"); $this->email->message("" - ."Someone requested a password reset for the account '${userinfo["username"]}'\n" - ."from the IP address '${_SERVER["REMOTE_ADDR"]}'.\n" + ."Someone requested a password reset for the account '{$userinfo["username"]}'\n" + ."from the IP address '{$_SERVER["REMOTE_ADDR"]}'.\n" ."\n" ."Please follow this link to reset your password:\n" .site_url("user/reset_password/$key") @@ -553,7 +553,7 @@ class User extends MY_Controller { $this->email->to($email['email']); $this->email->subject("FileBin email change confirmation"); $this->email->message("" - ."A request has been sent to change the email address of account '${old["username"]}'\n" + ."A request has been sent to change the email address of account '{$old["username"]}'\n" ."from ".$old['email']." to $value.\n" ."\n" ."Please follow this link to CONFIRM the change:\n" |