Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
ultimate_cron
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
ultimate_cron
Commits
6b44dda2
Commit
6b44dda2
authored
6 months ago
by
Dieter Holvoet
Committed by
Sascha Grossenbacher
6 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3463377
by dieterholvoet: Drush 13 compatibility
parent
8b1a7299
No related branches found
No related tags found
1 merge request
!51
Remove Drupal logger from command class
Pipeline
#255208
passed with warnings
6 months ago
Stage: build
Stage: validate
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
drush.services.yml
+0
-1
0 additions, 1 deletion
drush.services.yml
src/Commands/UltimateCronCommands.php
+0
-11
0 additions, 11 deletions
src/Commands/UltimateCronCommands.php
with
0 additions
and
12 deletions
drush.services.yml
+
0
−
1
View file @
6b44dda2
services
:
ultimate_cron.commands
:
class
:
Drupal\ultimate_cron\Commands\UltimateCronCommands
arguments
:
[
'
@logger.factory'
]
tags
:
-
{
name
:
drush.command
}
This diff is collapsed.
Click to expand it.
src/Commands/UltimateCronCommands.php
+
0
−
11
View file @
6b44dda2
...
...
@@ -3,7 +3,6 @@
namespace
Drupal\ultimate_cron\Commands
;
use
Consolidation\OutputFormatters\StructuredData\RowsOfFields
;
use
Drupal\Core\Logger\LoggerChannelFactoryInterface
;
use
Drupal\ultimate_cron
\CronPlugin
;
use
Drupal\ultimate_cron
\Entity\CronJob
;
use
Drush\Commands\DrushCommands
;
...
...
@@ -15,16 +14,6 @@ use Drush\Commands\DrushCommands;
*/
class
UltimateCronCommands
extends
DrushCommands
{
/**
* Constructs an UltimateCronCommands object.
*
* @param \Drupal\Core\Logger\LoggerChannelFactoryInterface $logger
* Logger factory object.
*/
public
function
__construct
(
LoggerChannelFactoryInterface
$logger
)
{
$this
->
logger
=
$logger
->
get
(
'ultimate_cron'
);
}
/**
* Show a cron jobs logs.
*
...
...
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