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

Diff of /contributions/modules/masquerade/masquerade.module

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

revision 1.16.2.21, Mon Aug 31 17:27:21 2009 UTC revision 1.16.2.22, Mon Aug 31 17:28:39 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: masquerade.module,v 1.16.2.20 2009/08/28 18:59:29 deviantintegral Exp $  // $Id: masquerade.module,v 1.16.2.21 2009/08/31 17:27:21 deviantintegral Exp $
3    
4  /**  /**
5   * @file masquerade.module   * @file masquerade.module
# Line 448  function masquerade_autocomplete($string Line 448  function masquerade_autocomplete($string
448    while ($user = db_fetch_object($result)) {    while ($user = db_fetch_object($result)) {
449      $matches[$user->name] = check_plain($user->name);      $matches[$user->name] = check_plain($user->name);
450    }    }
451    exit(drupal_to_js($matches));    if (module_exists('devel')) {
452        $GLOBALS['devel_shutdown'] = FALSE;
453      }
454      exit(drupal_json($matches));
455  }  }
456    
457  /**  /**
# Line 469  function masquerade_autocomplete_multipl Line 472  function masquerade_autocomplete_multipl
472    while ($user = db_fetch_object($result)) {    while ($user = db_fetch_object($result)) {
473      $matches[$prefix . $user->name] = check_plain($user->name);      $matches[$prefix . $user->name] = check_plain($user->name);
474    }    }
475    exit(drupal_to_js($matches));    if (module_exists('devel')) {
476        $GLOBALS['devel_shutdown'] = FALSE;
477      }
478      exit(drupal_json($matches));
479  }  }
480    
481  /**  /**

Legend:
Removed from v.1.16.2.21  
changed lines
  Added in v.1.16.2.22

  ViewVC Help
Powered by ViewVC 1.1.2