From 517b1096083cff15e2189c2015baa6a10b5e94e2 Mon Sep 17 00:00:00 2001 From: Dmitrii Metelkin Date: Mon, 17 Jun 2019 15:00:22 +1000 Subject: [PATCH] Move s3_client to a new namespace to fix issue#5 --- classes/{ => local}/client/s3_client.php | 2 +- classes/task/process_logs.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename classes/{ => local}/client/s3_client.php (98%) diff --git a/classes/client/s3_client.php b/classes/local/client/s3_client.php similarity index 98% rename from classes/client/s3_client.php rename to classes/local/client/s3_client.php index 0e46230..022d1e6 100644 --- a/classes/client/s3_client.php +++ b/classes/local/client/s3_client.php @@ -22,7 +22,7 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -namespace tool_s3logs\client; +namespace tool_s3logs\local\client; defined('MOODLE_INTERNAL') || die(); diff --git a/classes/task/process_logs.php b/classes/task/process_logs.php index 019e2b1..aaa94dc 100644 --- a/classes/task/process_logs.php +++ b/classes/task/process_logs.php @@ -27,7 +27,7 @@ defined('MOODLE_INTERNAL') || die(); -use tool_s3logs\client\s3_client; +use tool_s3logs\local\client\s3_client; /** * Class to process logs.