Removing obsolete references to readme files in source code

This commit is contained in:
Manuel Cillero 2017-10-03 23:20:11 +02:00
parent 3bcd36d5ab
commit 37c335e3cc
31 changed files with 52 additions and 94 deletions

View file

@ -32,19 +32,6 @@ function path_alias_xt_boot() {
return;
}
/**
* Implementation of hook_help().
*/
function path_alias_xt_help($path, $arg) {
switch ($path) {
case 'admin/help#path_alias_xt':
$s = t('Installation instructions are in the README.txt file. Further documentation is on the <a href="@path_alias_xt">Extended Path Aliases</a> project page.',
array('@path_alias_xt' => url('http://drupal.org/project/path_alias_xt')));
break;
}
return empty($s) ? '' : '<p>'. $s .'</p>';
}
/**
* Implementation of hook_menu().
*
@ -107,7 +94,7 @@ function path_alias_xt_get_path_alias($path, $path_language = '') {
if ($user_alias = drupal_lookup_path('alias', 'user', $path_language)) {
return "$user_alias/$matches[3]";
}
}
}
if ($alias = drupal_lookup_path('alias', "$matches[1]/$matches[2]", $path_language)) {
return "$alias/$matches[3]";
}