/[drupal]/contributions/modules/nmoderation/nmoderation.module
ViewVC logotype

Diff of /contributions/modules/nmoderation/nmoderation.module

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

revision 1.26, Tue May 2 04:42:46 2006 UTC revision 1.27, Tue May 2 04:44:23 2006 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: nmoderation.module,v 1.25 2006/04/28 18:38:55 eaton Exp $  // $Id: nmoderation.module,v 1.26 2006/05/02 04:42:46 eaton Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 512  function nmoderation_delete_confirm_subm Line 512  function nmoderation_delete_confirm_subm
512    
513      if ($user->uid == $vote->uid || user_access('administer node moderation votes')) {      if ($user->uid == $vote->uid || user_access('administer node moderation votes')) {
514        votingapi_delete_vote($vote);        votingapi_delete_vote($vote);
515        votingapi_recalculate_results($vote->content_id, $vote->content_id);        votingapi_recalculate_results($vote->content_type, $vote->content_id);
516    
517        nmoderation_set_promote($vote->content_id, $vote->content_type);        nmoderation_set_promote($vote->content_id, $vote->content_type);
518    

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

  ViewVC Help
Powered by ViewVC 1.1.2