/[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.24, Mon Aug 31 18:29:41 2009 UTC revision 1.16.2.25, Mon Aug 31 19:03:19 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: masquerade.module,v 1.16.2.23 2009/08/31 17:51:28 deviantintegral Exp $  // $Id: masquerade.module,v 1.16.2.24 2009/08/31 18:29:41 deviantintegral Exp $
3    
4  /**  /**
5   * @file masquerade.module   * @file masquerade.module
# Line 372  function masquerade_block_1($record) { Line 372  function masquerade_block_1($record) {
372    }    }
373    else {    else {
374      $masquerade_switches = variable_get('masquerade_quick_switches', array());      $masquerade_switches = variable_get('masquerade_quick_switches', array());
     $masquerade_switches = array();  
375    
376      // Add in user-specific switches.      // Add in user-specific switches.
377      $result = db_query("SELECT uid_to FROM {masquerade_users} WHERE uid_from = %d", $user->uid);      $result = db_query("SELECT uid_to FROM {masquerade_users} WHERE uid_from = %d", $user->uid);

Legend:
Removed from v.1.16.2.24  
changed lines
  Added in v.1.16.2.25

  ViewVC Help
Powered by ViewVC 1.1.2