summaryrefslogtreecommitdiff
path: root/includes/menu.inc
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-12-08 14:06:23 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-12-08 14:06:23 +0000
commit5622bce2d52904922a7fd450088bcaed417af7fd (patch)
tree2999f99426795c0e105dd988241278ac2e66c340 /includes/menu.inc
parentaaaf8f572d1b7a5cb0d0e5b68a5f788adee222b2 (diff)
downloadbrdo-5622bce2d52904922a7fd450088bcaed417af7fd.tar.gz
brdo-5622bce2d52904922a7fd450088bcaed417af7fd.tar.bz2
#198579 by webernet and hswong3i: a huge set of coding style fixes, including:
- whitespaces at end of lines - indentation - control structure usage - whitespace in empty lines - phpdoc comment formatting
Diffstat (limited to 'includes/menu.inc')
-rw-r--r--includes/menu.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/menu.inc b/includes/menu.inc
index 7c19b1d8e..f1b375f52 100644
--- a/includes/menu.inc
+++ b/includes/menu.inc
@@ -1792,8 +1792,8 @@ function menu_link_save(&$item) {
}
/**
-* Helper function to clear the page and block caches at most twice per page load.
-*/
+ * Helper function to clear the page and block caches at most twice per page load.
+ */
function _menu_clear_page_cache() {
static $cache_cleared = 0;
@@ -1814,8 +1814,8 @@ function _menu_clear_page_cache() {
}
/**
-* Helper function to update a list of menus with expanded items
-*/
+ * Helper function to update a list of menus with expanded items
+ */
function _menu_set_expanded_menus() {
$names = array();
$result = db_query("SELECT menu_name FROM {menu_links} WHERE expanded != 0 GROUP BY menu_name");