Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
linkchecker-3247797
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
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
linkchecker-3247797
Commits
cfef438b
Commit
cfef438b
authored
11 years ago
by
Alexander Hass
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#2125719
by hass: Links in unpublished nodes are still checked
parent
0eaf68bd
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.txt
+1
-0
1 addition, 0 deletions
CHANGELOG.txt
linkchecker.module
+10
-0
10 additions, 0 deletions
linkchecker.module
with
11 additions
and
0 deletions
CHANGELOG.txt
+
1
−
0
View file @
cfef438b
linkchecker 6.x-dev, nightly
----------------------------
* Issue #2125719 by hass: Links in unpublished nodes are still checked
* Added Smileys filter (http://drupal.org/project/smiley) to filter blacklist
* Issue #1306498 by hass, evolvingweb: Remove unnecessary hook_requirements in linkchecker.install
* Issue #1923328 by larowlan: Fragment check fails when source page contains spaces between attribute name, equals and value.
...
...
This diff is collapsed.
Click to expand it.
linkchecker.module
+
10
−
0
View file @
cfef438b
...
...
@@ -746,11 +746,21 @@ function _linkchecker_status_handling(&$response, $link) {
function
linkchecker_nodeapi
(
&
$node
,
$op
,
$a3
=
NULL
,
$a4
=
NULL
)
{
switch
(
$op
)
{
case
'insert'
:
// The node is going to be published.
if
(
_linkchecker_scan_nodetype
(
$node
->
type
)
&&
$node
->
status
)
{
_linkchecker_add_node_links
(
$node
);
}
break
;
case
'update'
:
// The node is going to be published.
if
(
_linkchecker_scan_nodetype
(
$node
->
type
)
&&
$node
->
status
)
{
_linkchecker_add_node_links
(
$node
);
}
else
{
// The node is going to be unpublished.
_linkchecker_delete_node_links
(
$node
->
nid
);
}
break
;
case
'delete'
:
...
...
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