/[drupal]/contributions/modules/xmpp_server/includes/session.php
ViewVC logotype

Diff of /contributions/modules/xmpp_server/includes/session.php

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

revision 1.2, Thu Sep 25 21:55:22 2008 UTC revision 1.3, Fri Sep 26 00:45:43 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: session.php,v 1.1 2008/09/25 06:45:42 t0talmeltd0wn Exp $  // $Id: session.php,v 1.2 2008/09/25 21:55:22 t0talmeltd0wn Exp $
3    
4  $xmpp_server_sessions = array();  $xmpp_server_sessions = array();
5    
# Line 118  function xmpp_server_id_map($key, $type, Line 118  function xmpp_server_id_map($key, $type,
118      $map = array();      $map = array();
119    }    }
120    
121      if ($type == 'uid' && $newval === NULL) {
122        $key = "$key/%";
123      }
124    
125    //Allow SQL wildcard matches with *    //Allow SQL wildcard matches with *
126    $key = str_replace('*', '%', $key);    $key = str_replace('*', '%', $key);
127    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.2