diff options
Diffstat (limited to 'central/trunk/includes')
-rw-r--r-- | central/trunk/includes/instadisc.php | 6 |
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 | ||
400 | function 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 | ?> |