summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-04-08 10:09:56 -0700
committerBrion Vibber <brion@pobox.com>2010-04-08 10:09:56 -0700
commit8a02cad42468c628b7b77910458c706c5d26f4df (patch)
treed774eb301fbf7631004cab9b72ecc802f5710811 /plugins
parentaceaeb99e5fa451fcfb2ac444443f17c09a4908c (diff)
drop onStartShowHeadElements handler from MobileProfile; just duplicated the original code path, and after removing the bogus notice-spewing code it was running those things twice.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/MobileProfile/MobileProfilePlugin.php18
1 files changed, 0 insertions, 18 deletions
diff --git a/plugins/MobileProfile/MobileProfilePlugin.php b/plugins/MobileProfile/MobileProfilePlugin.php
index 60bb3b68f..1c61b4fe5 100644
--- a/plugins/MobileProfile/MobileProfilePlugin.php
+++ b/plugins/MobileProfile/MobileProfilePlugin.php
@@ -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) {