Skip to content
Snippets Groups Projects
Commit 29f640c0 authored by Demian Katz's avatar Demian Katz
Browse files

Removed fixed TODO comments.

parent c07fe85b
No related merge requests found
...@@ -49,9 +49,6 @@ class MobileMenu extends AbstractHelper ...@@ -49,9 +49,6 @@ class MobileMenu extends AbstractHelper
*/ */
public function header($extras = array()) public function header($extras = array())
{ {
// TODO: this assumes that the view has controller and action variables set;
// we either need to figure out how to set them here or else set them up
// globally as part of the bootstrap process.
$context = $this->getView()->plugin('context'); $context = $this->getView()->plugin('context');
return $context($this->getView())->renderInContext('header.phtml', $extras); return $context($this->getView())->renderInContext('header.phtml', $extras);
} }
...@@ -66,7 +63,6 @@ class MobileMenu extends AbstractHelper ...@@ -66,7 +63,6 @@ class MobileMenu extends AbstractHelper
*/ */
public function footer($extras = array()) public function footer($extras = array())
{ {
// TODO: same as header()
$context = $this->getView()->plugin('context'); $context = $this->getView()->plugin('context');
return $context($this->getView())->renderInContext('footer.phtml', $extras); return $context($this->getView())->renderInContext('footer.phtml', $extras);
} }
......
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