BUG: Added a TODO code comment and mentioned it in the README

This commit is contained in:
Kirk Mayo 2013-08-26 14:20:29 +12:00
parent 01b03bf911
commit cbbd0a6a4d
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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';