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

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

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


Revision 1.3 - (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.2: +2 -2 lines
File MIME type: text/x-php
add {} where appropriate
1 <?php
2 // $Id: workflow_access.install,v 1.2 2006/03/24 03:15:07 merlinofchaos Exp $
3
4 function workflow_access_install() {
5 db_query("create table if not exists {workflow_access} (
6 sid 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 KEY sid (sid),
12 KEY rid (rid)
13 );");
14
15 drupal_set_message("workflow_access database tables created. If you have existing workflow content, you should go to administer >> settings >> na_arbitrator and reset.");
16 }

  ViewVC Help
Powered by ViewVC 1.1.2