/[drupal]/contributions/modules/xmpp/xmpp.install
ViewVC logotype

Contents of /contributions/modules/xmpp/xmpp.install

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


Revision 1.2 - (show annotations) (download) (as text)
Mon Aug 20 03:17:29 2007 UTC (2 years, 3 months ago) by mkhitrov
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +12 -12 lines
File MIME type: text/x-php
Some minor tweaks and improvements.
1 <?php
2 /* $Id: xmpp.install,v 1.1 2007/08/15 17:16:20 mkhitrov Exp $ */
3
4 function xmpp_install() {
5 switch ($GLOBALS['db_type']) {
6 case 'mysql':
7 case 'mysqli':
8 $result = db_query('
9 CREATE TABLE {xmpp_presence} (
10 remote varchar(255),
11 local varchar(255)
12 ) TYPE=MyISAM /*!40100 DEFAULT CHARACTER SET utf8 */;
13 ');
14 break;
15 }
16 }

  ViewVC Help
Powered by ViewVC 1.1.2