/[drupal]/contributions/modules/og_vocab/og_vocab.rules.inc
ViewVC logotype

Diff of /contributions/modules/og_vocab/og_vocab.rules.inc

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

revision 1.1.2.1, Wed Dec 24 15:16:07 2008 UTC revision 1.1.2.2, Thu May 14 14:47:41 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id$  // $Id: og_vocab.rules.inc,v 1.1.2.1 2008/12/24 15:16:07 amitaibu Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 51  function og_vocab_rules_action_info() { Line 51  function og_vocab_rules_action_info() {
51   * Action: Assign vocabulary to group.   * Action: Assign vocabulary to group.
52   */   */
53  function og_vocab_rules_action_assign_vocab($node, $vocab, $settings) {  function og_vocab_rules_action_assign_vocab($node, $vocab, $settings) {
54          og_vocab_write_record($node->nid, $vocab['vid']);          og_vocab_write_record($node->nid, $vocab->vid);
55  }  }
56    
57  /**  /**
58   * Action: Remove vocabulary from group.   * Action: Remove vocabulary from group.
59   */   */
60  function og_vocab_rules_action_remove_vocab($vocab, $settings) {  function og_vocab_rules_action_remove_vocab($vocab, $settings) {
61          og_vocab_remove_record($vocab['vid']);          og_vocab_remove_record($vocab->vid);
62  }  }
63    
64  /**  /**

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

  ViewVC Help
Powered by ViewVC 1.1.2