root/taggingreloaded/files/acp/update.php @ 204

Revision 204, 450 bytes (checked in by d0nut, 5 years ago)

fontcolor is read from style

Line 
1<?php
2/**
3 * @author      Torben Brodt
4 * @package     de.easy-coding.wcf.taggingreloaded
5 * @license     GNU General Public License <http://opensource.org/licenses/gpl-3.0.html>
6 */
7
8$sql = "SELECT optionID FROM wcf".WCF_N."_user_option WHERE optionName = 'tagging_style' LIMIT 1";
9$row = WCF::getDB()->getFirstRow($sql);
10
11$sql = "UPDATE wcf".WCF_N."_user_option_value SET userOption".$row['optionID']." = 2; ";
12$row = WCF::getDB()->sendQuery($sql);
13?>
Note: See TracBrowser for help on using the browser.