summaryrefslogtreecommitdiffstats
path: root/lib/class/registration.class.php
diff options
context:
space:
mode:
authorPaul 'flowerysong' Arthur <flowerysong00@yahoo.com>2010-03-14 20:14:52 +0000
committerPaul 'flowerysong' Arthur <flowerysong00@yahoo.com>2010-03-14 20:14:52 +0000
commit1cb0983ed04c65e06d502ae2ac9ed6d5e31d70dc (patch)
tree54655ff3e692a71a17f1d37cd97374b263557ca1 /lib/class/registration.class.php
parentef48bf3fbdca2a4d25f5d025f4c6ad23905e5369 (diff)
downloadampache-1cb0983ed04c65e06d502ae2ac9ed6d5e31d70dc.tar.gz
ampache-1cb0983ed04c65e06d502ae2ac9ed6d5e31d70dc.tar.bz2
ampache-1cb0983ed04c65e06d502ae2ac9ed6d5e31d70dc.zip
Cosmetics: remove trailing whitespace
Diffstat (limited to 'lib/class/registration.class.php')
-rw-r--r--lib/class/registration.class.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/class/registration.class.php b/lib/class/registration.class.php
index 30987011..ae85670d 100644
--- a/lib/class/registration.class.php
+++ b/lib/class/registration.class.php
@@ -30,7 +30,7 @@ class Registration {
* constructor
* This is what is called when the class is loaded
*/
- public function __construct() {
+ public function __construct() {
// Rien a faire
@@ -40,7 +40,7 @@ class Registration {
* send_confirmation
* This sends the confirmation e-mail for the specified user
*/
- public static function send_confirmation($username,$fullname,$email,$password,$validation) {
+ public static function send_confirmation($username,$fullname,$email,$password,$validation) {
// Multi-byte Character Mail
if(function_exists('mb_language')) {
@@ -76,7 +76,7 @@ Password: %s
Your account is currently inactive. You cannot use it until you've visited the following link:
-%s
+%s
Thank you for registering
"), $username, $password, Config::get('web_path') . "/register.php?action=validate&username=$username&auth=$validation");
@@ -96,7 +96,7 @@ Thank you for registering
}
// Check to see if the admin should be notified
- if (Config::get('admin_notify_reg')) {
+ if (Config::get('admin_notify_reg')) {
$body = sprintf(_("A new user has registered
The following values were entered.
@@ -113,11 +113,11 @@ E-mail: %s
implode("\n", $additional_header),
'-f'.Config::get('mail_from'));
} else {
- mail(Config::get('mail_from'),$subject,$body,implode("\r\n", $additional_header),'-f'.Config::get('mail_from'));
+ mail(Config::get('mail_from'),$subject,$body,implode("\r\n", $additional_header),'-f'.Config::get('mail_from'));
}
- }
-
- return true;
+ }
+
+ return true;
} // send_confirmation
@@ -125,11 +125,11 @@ E-mail: %s
* show_agreement
* This shows the registration agreement, /config/registration_agreement.php
*/
- public static function show_agreement() {
+ public static function show_agreement() {
$filename = Config::get('prefix') . '/config/registration_agreement.php';
- if (!file_exists($filename)) { return false; }
+ if (!file_exists($filename)) { return false; }
/* Check for existance */
$fp = fopen($filename,'r');