Removed unneeded get_user_timezone_offset() call; usertime() does it anyway.

This commit is contained in:
defacer 2005-04-09 09:47:01 +00:00
parent 02a5309439
commit 13e5588de8

View File

@ -602,8 +602,6 @@ function get_user_preferences($name=NULL, $default=NULL, $userid=NULL) {
*/
function make_timestamp($year, $month=1, $day=1, $hour=0, $minute=0, $second=0, $timezone=99, $applydst=true) {
$timezone = get_user_timezone_offset($timezone);
if (abs($timezone) > 13) {
$time = mktime((int)$hour,(int)$minute,(int)$second,(int)$month,(int)$day,(int)$year, 0);
} else {