Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SLUB Bison
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TYPO3
Extensions
SLUB Bison
Commits
07beba4f
Commit
07beba4f
authored
1 year ago
by
Beatrycze Volk
Browse files
Options
Downloads
Patches
Plain Diff
Fix loggers
parent
8322e731
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Classes/Utility/CurrencyConverter.php
+2
-1
2 additions, 1 deletion
Classes/Utility/CurrencyConverter.php
Classes/Utility/SpreadsheetLoader.php
+0
-10
0 additions, 10 deletions
Classes/Utility/SpreadsheetLoader.php
with
2 additions
and
11 deletions
Classes/Utility/CurrencyConverter.php
+
2
−
1
View file @
07beba4f
...
...
@@ -13,6 +13,7 @@ namespace SLUB\Bison\Utility;
use
TYPO3\CMS\Core\Cache\CacheManager
;
use
TYPO3\CMS\Core\Http\RequestFactory
;
use
TYPO3\CMS\Core\Log\Logger
;
use
TYPO3\CMS\Core\Log\LogManager
;
use
TYPO3\CMS\Core\Utility\GeneralUtility
;
...
...
@@ -42,7 +43,7 @@ class CurrencyConverter implements \TYPO3\CMS\Core\SingletonInterface
/**
* This holds the logger
*
* @var Log
Mana
ger
* @var Logger
* @access private
*/
private
$logger
;
...
...
This diff is collapsed.
Click to expand it.
Classes/Utility/SpreadsheetLoader.php
+
0
−
10
View file @
07beba4f
...
...
@@ -12,7 +12,6 @@ namespace Slub\Bison\Utility;
*/
use
PhpOffice\PhpSpreadsheet\IOFactory
;
use
TYPO3\CMS\Core\Log\LogManager
;
use
TYPO3\CMS\Core\Configuration\ExtensionConfiguration
;
use
TYPO3\CMS\Core\Utility\GeneralUtility
;
...
...
@@ -31,14 +30,6 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
abstract
class
SpreadsheetLoader
{
/**
* This holds the logger
*
* @var LogManager
* @access protected
*/
protected
$logger
;
/**
* @var array
* @access protected
...
...
@@ -65,7 +56,6 @@ abstract class SpreadsheetLoader
public
function
__construct
(
$file
)
{
$this
->
extConfig
=
GeneralUtility
::
makeInstance
(
ExtensionConfiguration
::
class
)
->
get
(
'bison'
);
$this
->
logger
=
GeneralUtility
::
makeInstance
(
LogManager
::
class
)
->
getLogger
(
get_class
(
$this
));
$results
=
[];
$spreadsheet
=
IOFactory
::
load
(
$this
->
extConfig
[
$file
]);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment