diff options
author | BlueRaja <BlueRaja.admin@gmail.com> | 2013-05-29 06:58:14 -0500 |
---|---|---|
committer | BlueRaja <BlueRaja.admin@gmail.com> | 2013-05-29 06:58:14 -0500 |
commit | 550a14a669ca4271db64856ff7c7ce376fc2cd34 (patch) | |
tree | 09ec13ba6e09906aaded8d97a27205075ac6a879 /pages/login.php | |
parent | 4a7b4e549fbbdb81aea8d837685ff83e0391ba86 (diff) | |
download | pathery-550a14a669ca4271db64856ff7c7ce376fc2cd34.tar.xz |
Set up foreign keys within the database. There is a small chance I may have broken emails, unlocks, or chat. Will test :)
Diffstat (limited to 'pages/login.php')
-rw-r--r-- | pages/login.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/login.php b/pages/login.php index 07662c3..04b4083 100644 --- a/pages/login.php +++ b/pages/login.php @@ -139,7 +139,7 @@ try { throwLoginError($d, "Unknown DB Registration failure");
exit;
}
- addchat(-1, "New user registered: \"$display\"");
+ addchat(null, "New user registered: \"$display\"");
sendNewUserEmail($userID, $email, $display, $dateJoined);
}
//If 'remember me' use this for cookie password
@@ -193,7 +193,7 @@ Happy Pathing, The Pathery Team
";
$emailSubject = 'Welcome to Pathery.com!';
- QueueEmail(0, $email, $emailSubject, $emailBody, 5, true);
+ QueueEmail(null, $email, $emailSubject, $emailBody, 5);
}
function throwLoginError($data, $explination) {
|