Author: NeX
Date: 2010-03-31 21:03:18 +0200 (Wed, 31 Mar 2010)
New Revision: 28932

Modified:
   
plugins/sfApplePushNotificationServicePlugin/trunk/lib/task/apnListenNotificationsQueueTask.class.php
Log:


Modified: 
plugins/sfApplePushNotificationServicePlugin/trunk/lib/task/apnListenNotificationsQueueTask.class.php
===================================================================
--- 
plugins/sfApplePushNotificationServicePlugin/trunk/lib/task/apnListenNotificationsQueueTask.class.php
       2010-03-31 18:58:15 UTC (rev 28931)
+++ 
plugins/sfApplePushNotificationServicePlugin/trunk/lib/task/apnListenNotificationsQueueTask.class.php
       2010-03-31 19:03:18 UTC (rev 28932)
@@ -54,8 +54,11 @@
                        $queue_connection->disconnect();
                        return false; 
                }
-            if(isset($queue_item['custom_content'])) {
-               $apn_connection->customSend($queue_item['token'], 
$queue_item['custom_content']);
+               
+               if(isset($queue_item['custom_content'])) {
+                       $apn_connection->customSend($queue_item['token'], 
$queue_item['custom_content']);
+               } elseif(isset($queue_item['custom_message'])) {
+                       $apn_connection->customSend($queue_item['token'], 
$queue_item['custom_message']);
             } elseif(isset($queue_item['message'])) {
                $apn_connection->send($queue_item['token'], 
$queue_item['message']);
             } else {

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.

Reply via email to