/[drupal]/contributions/modules/na_arbitrator/forum_access.install
ViewVC logotype

Contents of /contributions/modules/na_arbitrator/forum_access.install

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


Revision 1.4 - (show annotations) (download) (as text)
Sun Apr 2 06:45:36 2006 UTC (3 years, 7 months ago) by merlinofchaos
Branch: MAIN
CVS Tags: DRUPAL-4-7--1-0, HEAD
Branch point for: DRUPAL-4-7
Changes since 1.3: +2 -2 lines
File MIME type: text/x-php
add {} where appropriate
1 <?php
2 // $Id: forum_access.install,v 1.3 2006/03/24 03:41:22 merlinofchaos Exp $
3
4 function forum_access_install() {
5 db_query("create table if not exists {forum_access} (
6 tid int(10) NOT NULL default 0,
7 rid int(10) NOT NULL default 0,
8 grant_view tinyint(1) unsigned NOT NULL default '0',
9 grant_update tinyint(1) unsigned NOT NULL default '0',
10 grant_delete tinyint(1) unsigned NOT NULL default '0',
11 grant_create tinyint(1) unsigned NOT NULL default '0',
12 KEY tid (tid),
13 KEY rid (rid)
14 );");
15
16 drupal_set_message("forum_access database tables created.");
17 }

  ViewVC Help
Powered by ViewVC 1.1.2