diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-24 00:14:23 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-24 00:14:23 +0000 |
commit | 2c552193154dd49a335b883019e216430a097790 (patch) | |
tree | 0105ac8012cddcf8f4f2b63a27f66d0457dfd5cd /modules/blog | |
parent | 00280ca9885a668dd28831cacd536d11f98df36f (diff) | |
download | brdo-2c552193154dd49a335b883019e216430a097790.tar.gz brdo-2c552193154dd49a335b883019e216430a097790.tar.bz2 |
#497118 by chx, catch, pwolanin, JoshuaRogers, and Jacob Singh: Remove the function registry. While the hope was that this would result in improved performance for low-end hosts, it comes at the expense of critical development experience problems and less benefit than something like APC. Class registry remains intact to facilitate autoloading.
Diffstat (limited to 'modules/blog')
-rw-r--r-- | modules/blog/blog.module | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module index 1c43261a1..735678832 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -94,6 +94,7 @@ function blog_menu() { 'page callback' => 'blog_page_last', 'access arguments' => array('access content'), 'type' => MENU_SUGGESTED_ITEM, + 'file' => 'blog.pages.inc', ); $items['blog/%user_uid_optional'] = array( 'title' => 'My blog', @@ -101,6 +102,7 @@ function blog_menu() { 'page arguments' => array(1), 'access callback' => 'blog_page_user_access', 'access arguments' => array(1), + 'file' => 'blog.pages.inc', ); $items['blog/%user/feed'] = array( 'title' => 'Blogs', @@ -109,12 +111,14 @@ function blog_menu() { 'access callback' => 'blog_page_user_access', 'access arguments' => array(1), 'type' => MENU_CALLBACK, + 'file' => 'blog.pages.inc', ); $items['blog/feed'] = array( 'title' => 'Blogs', 'page callback' => 'blog_feed_last', 'access arguments' => array('access content'), 'type' => MENU_CALLBACK, + 'file' => 'blog.pages.inc', ); return $items; |