mirror of
https://github.com/silverstripe/silverstripe-externallinks.git
synced 2024-10-22 15:05:44 +00:00
BUG: Added a TODO code comment and mentioned it in the README
This commit is contained in:
parent
01b03bf911
commit
cbbd0a6a4d
@ -43,3 +43,7 @@ Add the following code to the mysite config to run the job every 24 hours (86400
|
||||
To disable the *Broken Ext. Links* menu add the following code to mysite/_config.php
|
||||
|
||||
`CMSMenu::remove_menu_item('BrokenExternalLinksAdmin');`
|
||||
|
||||
## TODO ##
|
||||
|
||||
Fix setting the class attribute of broken links to ss-broken
|
||||
|
@ -42,7 +42,7 @@ class CheckExternalLinks extends BuildTask {
|
||||
$brokenLink->HTTPCode = $httpCode;
|
||||
$brokenLink->write();
|
||||
|
||||
// set the broken link class
|
||||
// TODO set the broken link class
|
||||
/*
|
||||
$class = $link->getAttribute('class');
|
||||
$class = ($class) ? $class . 'ss-broken' : 'ss-broken';
|
||||
|
Loading…
x
Reference in New Issue
Block a user