Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
user_delete_reassign
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
user_delete_reassign
Commits
065c8f22
Commit
065c8f22
authored
2 years ago
by
Jonathan Maerckaert
Committed by
federico prato
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3346922
by jmaerckaert: Drupal 10 compatibility fixes
parent
5860ba4a
No related branches found
No related tags found
1 merge request
!2
Issue #3346922 by jmaerckaert: Drupal 10 compatibility fixes
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
user_delete_reassign.info.yml
+1
-2
1 addition, 2 deletions
user_delete_reassign.info.yml
user_delete_reassign.module
+1
-1
1 addition, 1 deletion
user_delete_reassign.module
with
2 additions
and
3 deletions
user_delete_reassign.info.yml
+
1
−
2
View file @
065c8f22
name
:
'
User
Delete
Reassign'
type
:
module
description
:
'
Alters
the
user
deletion
form
allowing
users
to
reassign
their
content
to
some
other
existing
users.'
core
:
8.x
core_version_requirement
:
^8 || ^9
core_version_requirement
:
^9 || ^10
configure
:
user_delete_reassign.settings
This diff is collapsed.
Click to expand it.
user_delete_reassign.module
+
1
−
1
View file @
065c8f22
...
...
@@ -117,7 +117,7 @@ function user_delete_reassign_user_cancel($edit, $account, $method) {
return
FALSE
;
}
$new_user
=
User
::
load
(
$edit
[
'user_cancel_reassign_to'
]);
module_
load
_i
nclude
(
'
inc'
,
'node
'
,
'node.admin'
);
Drupal
::
moduleHandler
()
->
load
I
nclude
(
'
node'
,
'inc
'
,
'node.admin'
);
$nodes
=
\Drupal
::
entityQuery
(
'node'
)
->
condition
(
'uid'
,
$account
->
id
())
->
execute
();
...
...
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