From 736205544eae115aaa3c0c478b58fab239937716 Mon Sep 17 00:00:00 2001 From: Daniel Hunsaker Date: Fri, 8 Mar 2013 18:18:45 -0700 Subject: [PATCH] Added ResqueScheduler::VERSION constant This fixes the error thrown when trying to set the proctitle if the constant doesn't exist. Signed-off-by: Daniel Hunsaker --- lib/ResqueScheduler.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ResqueScheduler.php b/lib/ResqueScheduler.php index d744c5b..ba24cd6 100644 --- a/lib/ResqueScheduler.php +++ b/lib/ResqueScheduler.php @@ -9,6 +9,8 @@ */ class ResqueScheduler { + const VERSION = "0.1"; + /** * Enqueue a job in a given number of seconds from now. *