lib/openwfe/expressions/fe_sleep.rb in openwferu-0.9.13 vs lib/openwfe/expressions/fe_sleep.rb in openwferu-0.9.14

- old
+ new

@@ -28,12 +28,10 @@ # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. #++ # -# $Id: definitions.rb 2725 2006-06-02 13:26:32Z jmettraux $ -# # # "made in Japan" # # John Mettraux at openwfe.org @@ -68,11 +66,10 @@ attr_accessor \ :awakening_time def apply (workitem) - #synchronize do sfor = lookup_attribute(:for, workitem) suntil = lookup_attribute(:until, workitem) sfor = fetch_text_content(workitem) \ @@ -100,10 +97,9 @@ @awakening_time = tuntil @applied_workitem = workitem.dup reschedule(get_scheduler) - #end end #def reply (workitem) #end