Index: pathauto_node.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/pathauto/pathauto_node.inc,v retrieving revision 1.29.2.1 diff -u -r1.29.2.1 pathauto_node.inc --- pathauto_node.inc 11 Dec 2006 15:44:46 -0000 1.29.2.1 +++ pathauto_node.inc 29 Dec 2006 18:52:14 -0000 @@ -237,37 +237,3 @@ } return $count; } - -/** - * Menu callback; presents a listing of all nodes matching an alias prefix - */ -function node_pathauto_page() { - $prefix = ''; - $lastalpha = ''; - // Skip first two components, which will always be "pathauto/node" - for ($i = 2; arg($i); $i++) { - $prefix .= arg($i) . '/'; - if (preg_match('/[a-z]/i', arg($i))) { - $lastalpha = arg($i); - } - } - - if ($lastalpha) { - $pagetitle = check_plain(drupal_ucfirst($lastalpha)); - } - else { - $pagetitle = 'Listing'; - } - - $result = pager_query(db_rewrite_sql("SELECT n.nid FROM {url_alias} a INNER JOIN {node} n ON a.src = CONCAT('node/', n.nid) WHERE n.status = 1 AND a.dst LIKE '%s%%' ORDER BY n.sticky DESC, n.created DESC"), variable_get('default_nodes_main', 10), 0, NULL, $prefix); - - $output = ''; - while ($node = db_fetch_object($result)) { - $output .= node_view(node_load($node->nid), 1); - } - - $output .= theme('pager', NULL, variable_get('default_nodes_main', 10)); - - drupal_set_title(t($pagetitle)); - return $output; -} Index: pathauto.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/pathauto/pathauto.module,v retrieving revision 1.44.2.2 diff -u -r1.44.2.2 pathauto.module --- pathauto.module 8 Dec 2006 22:55:00 -0000 1.44.2.2 +++ pathauto.module 29 Dec 2006 18:52:13 -0000 @@ -510,19 +510,6 @@ ); } - $modulelist = variable_get('pathauto_modulelist', array()); - if (is_array($modulelist)) { - foreach ($modulelist as $module) { - $indexfunc = $module.'_pathauto_page'; - if (function_exists($indexfunc)) { - $items[] = array('path' => 'pathauto/'.$module, - 'title' => t('Pathauto'), - 'callback' => $indexfunc, - 'access' => 1, - 'type' => MENU_CALLBACK); - } - } - } return $items; } Index: CHANGELOG.txt =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/pathauto/CHANGELOG.txt,v retrieving revision 1.25.2.1 diff -u -r1.25.2.1 CHANGELOG.txt --- CHANGELOG.txt 12 Nov 2006 17:25:39 -0000 1.25.2.1 +++ CHANGELOG.txt 29 Dec 2006 18:52:10 -0000 @@ -1,5 +1,10 @@ ***DRUPAL-5 only*** +2006-12-31 + Removed _pathauto_page capability which wasn't used by many sites + nor by any contrib modules. If your site or module used this + consider creating a separate contributed module. + 2006-11-11 .inc files are now hardcoded instead of being dynamically included Note: may break your site if you use additional .inc files @@ -7,7 +12,7 @@ Use - (dash) as the separator by default Limit aliases and components to 100 characters Make "Create new alias, replacing the old one." the default update action - + 2006-10-12 Allow users to specify a list of words to strip out of the url