Download & Extend

sleep time not working

Project:SMS Framework
Version:6.x-1.0
Component:SMS User
Category:bug report
Priority:normal
Assigned:Unassigned
Status:reviewed & tested by the community

Issue Summary

sleep time not working
attached a patch the fix the sleep time taken from version 6.2.
added code to make sleep time adhere to user timezone if there is one.

AttachmentSize
sms_user_tz.patch873 bytes

Comments

#1

Status:patch (to be ported)» needs review

#2

Status:needs review» reviewed & tested by the community

I like the code to factor in the timezone so committed that to the 2.x branch.

At this stage I wont comment this to 1.x as I am considering rolling back a bunch of stuff from 1.x-dev.

#3

when I run the cron I get the error:

warning: DateTimeZone::__construct() [datetimezone.--construct]: Unknown or bad timezone () in /home/s019fa8e/public_html/sites/all/modules/smsframework/modules/sms_user/sms_user.module on line 80.
warning: DateTime::setTimezone() expects parameter 1 to be DateTimeZone, null given in /home/s019fa8e/public_html/sites/all/modules/smsframework/modules/sms_user/sms_user.module on line 82.

the version of my smsframework is: 6.x-1.0

thanks.