From 65694366df0a8e363c75cb0e92b76975c45f10fb Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 30 Mar 2011 05:55:10 -0400 Subject: [PATCH] Add a scope-forcing flag to user_group --- db/core.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/db/core.php b/db/core.php index ab1f159743..90f5fb3f9f 100644 --- a/db/core.php +++ b/db/core.php @@ -653,7 +653,8 @@ $schema['user_group'] = array( 'uri' => array('type' => 'varchar', 'length' => 255, 'description' => 'universal identifier'), 'mainpage' => array('type' => 'varchar', 'length' => 255, 'description' => 'page for group info to link to'), - 'join_policy' => array('type' => 'int', 'size' => 'tiny', 'description' => '0=open; 1=requires admin approval'), + 'join_policy' => array('type' => 'int', 'size' => 'tiny', 'description' => '0=open; 1=requires admin approval'), + 'force_scope' => array('type' => 'int', 'size' => 'tiny', 'description' => '0=never,1=sometimes,-1=always'), ), 'primary key' => array('id'), 'unique keys' => array( -- 2.39.2