1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 02:36:38 +02:00

[ticket/12273] Move event exporter to namespace

PHPBB3-12273
This commit is contained in:
Joas Schilling
2014-04-18 11:13:02 +02:00
parent d213e09a40
commit 3352d9fd34
3 changed files with 40 additions and 40 deletions

View File

@@ -13,7 +13,7 @@ if (php_sapi_name() != 'cli')
$phpEx = substr(strrchr(__FILE__, '.'), 1);
$phpbb_root_path = __DIR__ . '/../';
require __DIR__ . '/event_exporter.' . $phpEx;
require __DIR__ . '/../phpbb/event/exporter.' . $phpEx;
function usage()
{
@@ -41,7 +41,7 @@ function validate_argument_count($arguments, $count)
validate_argument_count($argc, 1);
$action = $argv[1];
$exporter = new \event_exporter($phpbb_root_path);
$exporter = new \phpbb\event\exporter($phpbb_root_path);
switch ($action)
{