From 1633d6277298377c23e83117648412bac8d1ffd5 Mon Sep 17 00:00:00 2001 From: Philip Häusler Date: Wed, 28 Dec 2011 14:45:49 +0100 Subject: ical export for available shifts --- includes/pages/user_myshifts.php | 5 ----- 1 file changed, 5 deletions(-) (limited to 'includes/pages/user_myshifts.php') diff --git a/includes/pages/user_myshifts.php b/includes/pages/user_myshifts.php index 828f40df..d144d3f2 100644 --- a/includes/pages/user_myshifts.php +++ b/includes/pages/user_myshifts.php @@ -95,9 +95,4 @@ function user_myshifts() { 'reset_link' => page_link_to('user_myshifts') . '&reset' )); } - -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"); -} ?> \ No newline at end of file -- cgit v1.3.1