/[drupal]/contributions/modules/spam/modules/spam_node.inc
ViewVC logotype

Diff of /contributions/modules/spam/modules/spam_node.inc

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

revision 1.1.2.1.2.5.2.7, Thu Aug 6 20:37:19 2009 UTC revision 1.1.2.1.2.5.2.8, Thu Aug 6 21:06:50 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: spam_node.inc,v 1.1.2.1.2.5.2.6 2009/08/06 17:39:28 jeremy Exp $  // $Id: spam_node.inc,v 1.1.2.1.2.5.2.7 2009/08/06 20:37:19 jeremy Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 180  function node_spamapi($op, $arg1 = NULL, Line 180  function node_spamapi($op, $arg1 = NULL,
180   */   */
181  function node_spamapi_form_alter(&$form, &$form_state, $form_id) {  function node_spamapi_form_alter(&$form, &$form_state, $form_id) {
182    if (strpos($form_id, '_node_form')) {    if (strpos($form_id, '_node_form')) {
 drupal_set_message('here');  
183      $form['#validate'][] = 'node_spam_scan';      $form['#validate'][] = 'node_spam_scan';
184    }    }
185  }  }

Legend:
Removed from v.1.1.2.1.2.5.2.7  
changed lines
  Added in v.1.1.2.1.2.5.2.8

  ViewVC Help
Powered by ViewVC 1.1.2