From b751ab70fb4f9f7ad807e29b5716f2100aeb0de8 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 7 Mar 2011 12:39:52 -0500 Subject: [PATCH] Revert "abstraction for starting and ending a menu" This reverts commit b4f1281799766570ff68580e13c588ea8c8ce1f1. --- lib/menu.php | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/lib/menu.php b/lib/menu.php index 751f8e1b7d..2713b44d50 100644 --- a/lib/menu.php +++ b/lib/menu.php @@ -62,23 +62,6 @@ class Menu extends Widget $this->actionName = $action->trimmed('action'); } - function id() - { - return 'unknown_menu'; - } - - function menuStart() - { - $this->action->elementStart('div', array('id' => $this->id())); - $this->action->elementStart('ul', array('class' => 'nav')); - } - - function menuEnd() - { - $this->action->elementEnd('ul'); - $this->action->elementEnd('div'); - } - function item($actionName, $args, $label, $description, $id=null) { if (empty($id)) { -- 2.39.2