Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
221
Merge Requests
221
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
890356a0
Commit
890356a0
authored
Feb 21, 2006
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Patch
#50219
by pz: removed some redundant code.
parent
3698f857
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
modules/node.module
modules/node.module
+0
-2
modules/node/node.module
modules/node/node.module
+0
-2
No files found.
modules/node.module
View file @
890356a0
...
...
@@ -1743,8 +1743,6 @@ function theme_node_form($form) {
function
node_add
(
$type
)
{
global
$user
;
$edit
=
isset
(
$_POST
[
'edit'
])
?
$_POST
[
'edit'
]
:
''
;
// If a node type has been specified, validate its existence.
if
(
array_key_exists
(
$type
,
node_get_types
())
&&
node_access
(
'create'
,
$type
))
{
// Initialize settings:
...
...
modules/node/node.module
View file @
890356a0
...
...
@@ -1743,8 +1743,6 @@ function theme_node_form($form) {
function
node_add
(
$type
)
{
global
$user
;
$edit
=
isset
(
$_POST
[
'edit'
])
?
$_POST
[
'edit'
]
:
''
;
// If a node type has been specified, validate its existence.
if
(
array_key_exists
(
$type
,
node_get_types
())
&&
node_access
(
'create'
,
$type
))
{
// Initialize settings:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment