~catch-drupal/pressflow/pressflow_implements

« back to all changes in this revision

Viewing changes to modules/node/node.module

  • Committer: Nathaniel
  • Date: 2011-07-25 06:21:41 UTC
  • mfrom: (96.1.8 pressflow)
  • Revision ID: catch@catch-toshiba-20110725062141-ljr9711t3q3ud106
MergingĀ inĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?php
2
 
// $Id: node.module,v 1.947.2.29 2010/12/15 12:53:33 goba Exp $
3
2
 
4
3
/**
5
4
 * @file
974
973
  if (node_access('delete', $node)) {
975
974
    db_query('DELETE FROM {node} WHERE nid = %d', $node->nid);
976
975
    db_query('DELETE FROM {node_revisions} WHERE nid = %d', $node->nid);
 
976
    db_query('DELETE FROM {node_access} WHERE nid = %d', $node->nid);
977
977
 
978
978
    // Call the node-specific callback (if any):
979
979
    node_invoke($node, 'delete');