]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
drop onStartShowHeadElements handler from MobileProfile; just duplicated the original...
authorBrion Vibber <brion@pobox.com>
Thu, 8 Apr 2010 17:09:56 +0000 (10:09 -0700)
committerBrion Vibber <brion@pobox.com>
Thu, 8 Apr 2010 17:09:56 +0000 (10:09 -0700)
plugins/MobileProfile/MobileProfilePlugin.php

index 60bb3b68fa3c968aa56c57571ca684c264d26976..1c61b4fe5291c88dbec0d1d87d749930d2b800dc 100644 (file)
@@ -234,24 +234,6 @@ class MobileProfilePlugin extends WAP20Plugin
     }
 
 
-    function onStartShowHeadElements($action)
-    {
-        // @fixme nothing appears to set a serveMobile on any action,
-        // so this is useless and spews errors. Is this supposed to be
-        // checking $this?
-        //if (!$action->serveMobile) {
-        //    return true;
-        //}
-
-        $action->showTitle();
-        $action->showShortcutIcon();
-        $action->showStylesheets();
-        $action->showFeeds();
-        $action->showDescription();
-        $action->extraHead();
-    }
-
-
     function onStartShowStatusNetStyles($action)
     {
         if (!$this->serveMobile) {