Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uw_cfg_common
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository 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
WCMS
uw_cfg_common
Commits
a946a535
Commit
a946a535
authored
3 years ago
by
Igor Biki
Browse files
Options
Downloads
Patches
Plain Diff
ISTWCMS-5409: Adding support for empty key.
parent
f3703bcd
No related branches found
No related tags found
1 merge request
!229
ISTWCMS-5409: Removing host from drush command, and using path instead that...
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Commands/UwDrushCommands.php
+7
-1
7 additions, 1 deletion
src/Commands/UwDrushCommands.php
with
7 additions
and
1 deletion
src/Commands/UwDrushCommands.php
+
7
−
1
View file @
a946a535
...
...
@@ -219,8 +219,14 @@ class UwDrushCommands extends DrushCommands {
* - Return light weight cron url with key.
*/
public
function
getLightWeightCronUrl
():
string
{
$url
=
''
;
$host
=
$this
->
request
->
getSchemeAndHttpHost
();
return
$host
.
'/scheduler/cron/'
.
$this
->
getLightWeightCronKey
();
if
(
$key
=
$this
->
getLightWeightCronKey
())
{
$url
=
$host
.
'/scheduler/cron/'
.
$key
;
}
return
$url
;
}
}
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