5 * @author Joshua Ruesweg
6 * @copyright 2001-2019 WoltLab GmbH
7 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
8 * @package WoltLabSuite\Core
11 // HEADS UP: This script must be executed, AFTER the SQL tables are changed.
13 $sql = "UPDATE wcf". WCF_N
."_user
14 SET emailConfirmed = activationCode
15 WHERE activationCode <> 0";
17 $statement = WCF
::getDB()->prepareStatement($sql);
18 $statement->execute();