/[drupal]/contributions/modules/og/modules/og_notifications/og_notifications.module
ViewVC logotype

Diff of /contributions/modules/og/modules/og_notifications/og_notifications.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.24.4.6, Sat Apr 18 05:49:13 2009 UTC revision 1.24.4.7, Fri May 1 06:52:33 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: og_notifications.module,v 1.24.4.5 2009/04/16 04:51:51 karthik Exp $  // $Id: og_notifications.module,v 1.24.4.6 2009/04/18 05:49:13 karthik Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 793  function _og_notifications_node_options( Line 793  function _og_notifications_node_options(
793   * see if the message object being passed is an OG notification.   * see if the message object being passed is an OG notification.
794   *   *
795   * @param Object $message   * @param Object $message
796   *   The message object   *   The message object.
797   * @return Boolean   * @return Integer
798   *   True if this is an OG notification message. False, otherwise ...   *   The subscription ID if this is an OG notification message. 0,
799     * otherwise ...
800   */   */
801  function _og_notification_check_message($message) {  function _og_notification_check_message($message) {
802    $sid = 0;    $sid = 0;
# Line 810  function _og_notification_check_message( Line 811  function _og_notification_check_message(
811      }      }
812    }    }
813    
814    return $sid > 0;    return $sid > 0 ? $sid : 0;
815  }  }

Legend:
Removed from v.1.24.4.6  
changed lines
  Added in v.1.24.4.7

  ViewVC Help
Powered by ViewVC 1.1.2