+++ /dev/null
-<?php
-
-/**
- * @author Matthias Schmidt
- * @copyright 2001-2019 WoltLab GmbH
- * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- */
-
-use wcf\data\user\group\UserGroup;
-use wcf\system\WCF;
-
-// set default mod permissions
-$group = new UserGroup(5);
-if ($group->groupID) {
- $sql = "REPLACE INTO wcf" . WCF_N . "_user_group_option_value
- (groupID, optionID, optionValue)
- SELECT 5, optionID, 1
- FROM wcf" . WCF_N . "_user_group_option
- WHERE optionName LIKE 'mod.conversation.%'";
- $statement = WCF::getDB()->prepareStatement($sql);
- $statement->execute();
-}
-
-$group = new UserGroup(6);
-if ($group->groupID) {
- $sql = "REPLACE INTO wcf" . WCF_N . "_user_group_option_value
- (groupID, optionID, optionValue)
- SELECT 6, optionID, 1
- FROM wcf" . WCF_N . "_user_group_option
- WHERE optionName LIKE 'mod.conversation.%'";
- $statement = WCF::getDB()->prepareStatement($sql);
- $statement->execute();
-}
<instruction type="userNotificationEvent" />
<instruction type="userOption" />
<instruction type="eventListener" />
- <instruction type="script">acp/install_com.woltlab.wcf.conversation.php</instruction>
<instruction type="page" />
</instructions>
<optiontype>boolean</optiontype>
<defaultvalue>0</defaultvalue>
<options>module_conversation</options>
+ <moddefaultvalue>1</moddefaultvalue>
<admindefaultvalue>1</admindefaultvalue>
<usersonly>1</usersonly>
</option>
<optiontype>boolean</optiontype>
<defaultvalue>0</defaultvalue>
<options>module_conversation</options>
+ <moddefaultvalue>1</moddefaultvalue>
<admindefaultvalue>1</admindefaultvalue>
<usersonly>1</usersonly>
</option>