function dblog_clear_help in Util 6.3
Same name and namespace in other branches
- 6.2 contribs/dblog_ext/dblog_clear/dblog_clear.module \dblog_clear_help()
Implementation of hook_help().
File
- contribs/
dblog_ext/ dblog_clear/ dblog_clear.module, line 6
Code
function dblog_clear_help($path, $args) {
switch ($path) {
case 'admin/reports/dblog':
// being able to access reports is not enough to allow deletion
// the ones responsible for configuration owns the right
// over log history preservation
if (user_access('administer site configuration')) {
return '<p>' . t('Within the "Filter log messages" field set there is a button that you may use to clear selected entries.') . '</p>';
}
}
}