File: //var/www/ojs/tools/mergeUsers.php
<?php
/**
* @file tools/mergeUsers.php
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2003-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* @class mergeUsers
* @ingroup tools
*
* @brief CLI tool for merging two user accounts.
*/
require(dirname(__FILE__) . '/bootstrap.inc.php');
import('lib.pkp.classes.cliTool.MergeUsersTool');
$tool = new MergeUsersTool(isset($argv) ? $argv : array());
$tool->execute();