| 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 |
| 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 |
/** |
/** |
| 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 |
/** |
/** |