]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Revert "abstraction for starting and ending a menu"
authorEvan Prodromou <evan@status.net>
Mon, 7 Mar 2011 17:39:52 +0000 (12:39 -0500)
committerEvan Prodromou <evan@status.net>
Mon, 7 Mar 2011 17:39:52 +0000 (12:39 -0500)
This reverts commit b4f1281799766570ff68580e13c588ea8c8ce1f1.

lib/menu.php

index 751f8e1b7d9bd8c1ba7766505ccfbd7e41f1153c..2713b44d50e8e8c86d722fc15c22b75a881b1d0a 100644 (file)
@@ -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)) {