about summary refs log tree commit diff stats
path: root/central/trunk/includes
diff options
context:
space:
mode:
Diffstat (limited to 'central/trunk/includes')
-rw-r--r--central/trunk/includes/instadisc.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/central/trunk/includes/instadisc.php b/central/trunk/includes/instadisc.php index 96f4940..95aeb88 100644 --- a/central/trunk/includes/instadisc.php +++ b/central/trunk/includes/instadisc.php
@@ -397,4 +397,10 @@ function instaDisc_cancelSubscription($username, $url)
397 return false; 397 return false;
398} 398}
399 399
400function instaDisc_changePassword($username, $password)
401{
402 $setpass = "UPDATE users WHERE username = \"" . mysql_real_escape_string($username) . "\" SET password = \"" . mysql_real_escape_string(md5($password)) . "\"";
403 $setpass2 = mysql_query($setpass);
404}
405
400?> 406?>