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