diff options
author | zotlabs <mike@macgirvin.com> | 2017-03-28 17:00:44 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-03-28 17:00:44 -0700 |
commit | 323ab3dba4a925cf2519c5c9eee9b82683dc7d5d (patch) | |
tree | 4303952f1d1d46a2ef5aea33f71840dc4bf62440 /boot.php | |
parent | 69471948245057d0782d34b469984f66c949f292 (diff) | |
download | volse-hubzilla-323ab3dba4a925cf2519c5c9eee9b82683dc7d5d.tar.gz volse-hubzilla-323ab3dba4a925cf2519c5c9eee9b82683dc7d5d.tar.bz2 volse-hubzilla-323ab3dba4a925cf2519c5c9eee9b82683dc7d5d.zip |
get rid of some more deprecated uses of $a
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -1982,7 +1982,7 @@ function curPageURL() { * * @return mixed */ -function get_custom_nav(&$a, $navname) { +function get_custom_nav($navname) { if (! $navname) return App::$page['nav']; // load custom nav menu by name here @@ -1994,7 +1994,6 @@ function get_custom_nav(&$a, $navname) { * If there is no parsed Comanche template already load a module's pdl file * and parse it with Comanche. * - * @param App &$a global application object */ function load_pdl() { @@ -2023,7 +2022,7 @@ function load_pdl() { } -function exec_pdl(&$a) { +function exec_pdl() { if(App::$pdl) { App::$comanche->parse(App::$pdl,1); } @@ -2035,11 +2034,10 @@ function exec_pdl(&$a) { * * Build the page - now that we have all the components * - * @param App &$a global application object */ -function construct_page(&$a) { +function construct_page() { - exec_pdl($a); + exec_pdl(); $comanche = ((count(App::$layout)) ? true : false); @@ -2055,7 +2053,7 @@ function construct_page(&$a) { if ($comanche) { if (App::$layout['nav']) { - App::$page['nav'] = get_custom_nav($a, App::$layout['nav']); + App::$page['nav'] = get_custom_nav(App::$layout['nav']); } } |