Commit 802c3b83 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Removed some junk

parent 1ec0714f
......@@ -916,7 +916,6 @@ function main_nav() {
* @return $menu a data structure containing the site menu
*/
function site_menu() {
//$wwwroot = get_config('wwwroot'); (int)
global $SESSION;
$menu = array();
if ($menuitems = @get_records('site_menu','public',(int) !$SESSION->is_logged_in(),'displayorder')) {
......@@ -929,6 +928,8 @@ function site_menu() {
}
return $menu;
}
/**
* Always use this function for all emails to users
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment