diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2018-04-25 12:26:03 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-04-26 12:10:52 +0200 |
commit | 69592408c4ef2b891c2d73f704611d2eabe5813a (patch) | |
tree | 6e818dc25a643e167925353ee1a2fa58a3c95700 /lib/private | |
parent | cfc3ab0119d23a4c8ccccefb13d2271b0c0675ae (diff) | |
download | nextcloud-server-69592408c4ef2b891c2d73f704611d2eabe5813a.tar.gz nextcloud-server-69592408c4ef2b891c2d73f704611d2eabe5813a.zip |
move IFileBased to public namespace, logreader needs it
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/Log.php | 2 | ||||
-rw-r--r-- | lib/private/Log/File.php | 1 | ||||
-rw-r--r-- | lib/private/Log/IFileBased.php | 30 |
3 files changed, 2 insertions, 31 deletions
diff --git a/lib/private/Log.php b/lib/private/Log.php index 313201460a2..099cc56776b 100644 --- a/lib/private/Log.php +++ b/lib/private/Log.php @@ -38,7 +38,7 @@ namespace OC; use InterfaSys\LogNormalizer\Normalizer; use OC\Log\ExceptionSerializer; -use OC\Log\IFileBased; +use OCP\Log\IFileBased; use OCP\IConfig; use OCP\Log\IWriter; use OCP\ILogger; diff --git a/lib/private/Log/File.php b/lib/private/Log/File.php index 6e95de229cd..56121d21d9f 100644 --- a/lib/private/Log/File.php +++ b/lib/private/Log/File.php @@ -37,6 +37,7 @@ namespace OC\Log; use OCP\IConfig; +use OCP\Log\IFileBased; use OCP\Log\IWriter; use OCP\ILogger; diff --git a/lib/private/Log/IFileBased.php b/lib/private/Log/IFileBased.php deleted file mode 100644 index ae083f670e2..00000000000 --- a/lib/private/Log/IFileBased.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -/** - * @copyright Copyright (c) 2018 Arthur Schiwon <blizzz@arthur-schiwon.de> - * - * @author Arthur Schiwon <blizzz@arthur-schiwon.de> - * - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * - */ - -namespace OC\Log; - -interface IFileBased { - public function getLogFilePath(); - - public function getEntries($limit=50, $offset=0); -} |