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

Diff of /contributions/modules/filerequest/filerequest.module

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

revision 1.4.2.3, Wed Aug 2 10:25:40 2006 UTC revision 1.4.2.4, Thu Aug 31 19:10:06 2006 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: filerequest.module,v 1.4.2.2 2006/07/10 17:05:33 elmuerte Exp $  // $Id: filerequest.module,v 1.4.2.3 2006/08/02 10:25:40 elmuerte Exp $
3    
4  function filerequest_help($section) {  function filerequest_help($section) {
5    switch ($section) {    switch ($section) {
# Line 103  function _filerequest_download() { Line 103  function _filerequest_download() {
103    
104    if (defined("__FILEREQ_LEECH"))    if (defined("__FILEREQ_LEECH"))
105    {    {
106        global $__fr_reporting_leech;
107        if ($__fr_reporting_leech) __fr_delayed_report();
108      $result = db_result(db_query("SELECT nid FROM {files} WHERE filepath = '%s'", $config["filename"]));      $result = db_result(db_query("SELECT nid FROM {files} WHERE filepath = '%s'", $config["filename"]));
109      if ($result !== false)      if ($result !== false)
110      {      {

Legend:
Removed from v.1.4.2.3  
changed lines
  Added in v.1.4.2.4

  ViewVC Help
Powered by ViewVC 1.1.2