Removing references to README.txt files in help functions
This commit is contained in:
parent
cfe5e67bb3
commit
7211b87ec4
3 changed files with 0 additions and 26 deletions
|
@ -411,12 +411,6 @@ function print_link_alter(&$links, $node) {
|
|||
* Implementation of hook_help().
|
||||
*/
|
||||
function print_help($path, $arg) {
|
||||
switch ($path) {
|
||||
case 'admin/help#print':
|
||||
// Return a line-break version of the module README
|
||||
return filter_filter('process', 1, NULL, file_get_contents(drupal_get_path('module', 'print') .'/README.txt') );
|
||||
}
|
||||
|
||||
$print_html_link_pos = variable_get('print_html_link_pos', unserialize(PRINT_HTML_LINK_POS_DEFAULT));
|
||||
if (($path !== 'node/%') && !(empty($print_html_link_pos['help']))) {
|
||||
static $output = FALSE;
|
||||
|
|
Reference in a new issue