diff options
Diffstat (limited to 'includes/sys_user.php')
-rw-r--r-- | includes/sys_user.php | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/includes/sys_user.php b/includes/sys_user.php index 231b2b62..53976f5a 100644 --- a/includes/sys_user.php +++ b/includes/sys_user.php @@ -28,12 +28,6 @@ $tshirt_sizes = array ( 'XL-G' => "XL Girl" ); -function user_reset_ical_key($user) { - $user['ical_key'] = md5($user['Nick'] . time() . rand()); - sql_query("UPDATE `User` SET `ical_key`='" . sql_escape($user['ical_key']) . "' WHERE `UID`='" . sql_escape($user['UID']) . "' LIMIT 1"); - engelsystem_log("iCal key resetted."); -} - function UID2Nick($UID) { if ($UID > 0) $SQL = "SELECT Nick FROM `User` WHERE UID='" . sql_escape($UID) . "'"; |