Removing references to README.txt files in help functions

This commit is contained in:
Manuel Cillero 2017-09-09 09:07:34 +02:00
parent cfe5e67bb3
commit 7211b87ec4
3 changed files with 0 additions and 26 deletions

View file

@ -245,24 +245,6 @@ function watcher_perm() {
return array('administer watcher', 'use watcher', 'change own user settings', 'access help page', 'access others lists of watched posts');
}
/**
* Implementation of hook_help()
*/
function watcher_help($path, $arg) {
switch ($path) {
case 'admin/help#watcher':
// Load the help text.
$help = file_get_contents('README.txt', FILE_USE_INCLUDE_PATH);
// Abort if we can't find the file.
if (!$help) return;
$help = htmlentities($help);
return theme('watcher_help', $help);
}
}
/**
* Implementation of hook_menu().
*/