diff options
author | zotlabs <mike@macgirvin.com> | 2018-01-18 15:36:46 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-01-18 15:36:46 -0800 |
commit | 858a6270d59a4a641a0d2dfb610dbefa6f81ebaa (patch) | |
tree | ecc9a72d16dbe42945f0bcc68bab7f4af8784e4a /Zotlabs/Web/Router.php | |
parent | 03d3cbdbf8b4e48d317ccbb35d2729d5f006a4e2 (diff) | |
download | volse-hubzilla-858a6270d59a4a641a0d2dfb610dbefa6f81ebaa.tar.gz volse-hubzilla-858a6270d59a4a641a0d2dfb610dbefa6f81ebaa.tar.bz2 volse-hubzilla-858a6270d59a4a641a0d2dfb610dbefa6f81ebaa.zip |
simplify webserver logic flow, remove obsolete $a from router
Diffstat (limited to 'Zotlabs/Web/Router.php')
-rw-r--r-- | Zotlabs/Web/Router.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Zotlabs/Web/Router.php b/Zotlabs/Web/Router.php index a6b780cdc..fb551e36f 100644 --- a/Zotlabs/Web/Router.php +++ b/Zotlabs/Web/Router.php @@ -38,10 +38,9 @@ class Router { /** * @brief Router constructor. * - * @param[in,out] App &$a * @throws Exception module not found */ - function __construct(&$a) { + function __construct() { $module = \App::$module; $modname = "Zotlabs\\Module\\" . ucfirst($module); @@ -179,9 +178,8 @@ class Router { /** * @brief * - * @param[in,out] App &$a */ - function Dispatch(&$a) { + function Dispatch() { /** * Call module functions |