Stylesheet event now removed of StatusNet-remnants

This commit is contained in:
Mikael Nordfeldth
2013-09-17 20:41:54 +02:00
parent 4ca1c10fb8
commit 8205c56e25
9 changed files with 16 additions and 27 deletions

View File

@@ -27,7 +27,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET') && !defined('LACONICA')) {
if (!defined('STATUSNET')) {
exit(1);
}
@@ -244,7 +244,7 @@ class MobileProfilePlugin extends WAP20Plugin
}
}
function onStartShowStatusNetStyles($action)
public function onStartShowStylesheets(Action $action)
{
if (!$this->serveMobile) {
return true;
@@ -263,8 +263,7 @@ class MobileProfilePlugin extends WAP20Plugin
}
// Allow other plugins to load their styles.
Event::handle('EndShowStatusNetStyles', array($action));
Event::handle('EndShowLaconicaStyles', array($action));
Event::handle('EndShowStylesheets', array($action));
return false;
}