Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drd-3401156
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Issue forks
drd-3401156
Commits
19c66695
Commit
19c66695
authored
8 years ago
by
Jürgen Haas
Browse files
Options
Downloads
Patches
Plain Diff
Drupal 8 version of the remote library: cleanup
parent
2cad2af0
No related branches found
Branches containing commit
Tags
11.2.8
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
build/drd.phar
+0
-0
0 additions, 0 deletions
build/drd.phar
src/Remote/Action8/DrdActionBlocks.php
+1
-1
1 addition, 1 deletion
src/Remote/Action8/DrdActionBlocks.php
src/Remote/Action8/DrdActionUserCredentials.php
+2
-2
2 additions, 2 deletions
src/Remote/Action8/DrdActionUserCredentials.php
with
3 additions
and
3 deletions
build/drd.phar
+
0
−
0
View file @
19c66695
No preview for this file type
This diff is collapsed.
Click to expand it.
src/Remote/Action8/DrdActionBlocks.php
+
1
−
1
View file @
19c66695
...
...
@@ -43,7 +43,7 @@ class DrdActionBlocks extends DrdActionBase {
* @inheritDoc
*/
public
function
execute
()
{
if
(
!
\Drupal
::
moduleHandler
()
->
moduleExists
(
'block'
))
{
if
(
!
\Drupal
::
moduleHandler
()
->
moduleExists
(
'block'
))
{
return
array
();
}
$args
=
$this
->
getArguments
();
...
...
This diff is collapsed.
Click to expand it.
src/Remote/Action8/DrdActionUserCredentials.php
+
2
−
2
View file @
19c66695
...
...
@@ -30,7 +30,7 @@ class DrdActionUserCredentials extends DrdActionBase {
$account
->
save
();
}
catch
(
\Exception
$ex
)
{
drupal_set_message
(
t
(
'Changing user credentials failed.'
)
,
'error'
);
drupal_set_message
(
'Changing user credentials failed.'
,
'error'
);
}
}
return
array
();
...
...
@@ -51,7 +51,7 @@ class DrdActionUserCredentials extends DrdActionBase {
}
$user
=
user_load_by_name
(
$args
[
'username'
]);
if
(
!
empty
(
$user
)
&&
$user
->
uid
!==
$args
[
'uid'
])
{
drupal_set_message
(
t
(
'Username already taken.'
)
,
'error'
);
drupal_set_message
(
'Username already taken.'
,
'error'
);
return
;
}
$account
->
setUsername
(
$args
[
'username'
]);
...
...
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