There are no LaconicaScripts left

This commit is contained in:
Mikael Nordfeldth 2013-11-02 00:35:59 +01:00
parent 6ef1967cec
commit 25e61916f9
2 changed files with 1 additions and 9 deletions

View File

@ -51,12 +51,6 @@ StartShowStatusNetScripts: Showing StatusNet script links (use this to link to a
EndShowStatusNetScripts: End showing StatusNet script links
- $action: the current action
StartShowLaconicaScripts: backwards compatibility; deprecated
- $action: the current action
EndShowLaconicaScripts: backwards compatibility; deprecated
- $action: the current action
StartShowSections: Start the list of sections in the sidebar
- $action: the current action

View File

@ -381,8 +381,7 @@ class Action extends HTMLOutputter // lawsuit
Event::handle('EndShowJQueryScripts', array($this));
}
if (Event::handle('StartShowStatusNetScripts', array($this)) &&
Event::handle('StartShowLaconicaScripts', array($this))) {
if (Event::handle('StartShowStatusNetScripts', array($this))) {
if (common_config('site', 'minify')) {
$this->script('util.min.js');
} else {
@ -403,7 +402,6 @@ class Action extends HTMLOutputter // lawsuit
$this->inlineScript('if (window.top !== window.self) { document.write = ""; window.top.location = window.self.location; setTimeout(function () { document.body.innerHTML = ""; }, 1); window.self.onload = function () { document.body.innerHTML = ""; }; }');
}
Event::handle('EndShowStatusNetScripts', array($this));
Event::handle('EndShowLaconicaScripts', array($this));
}
Event::handle('EndShowScripts', array($this));
}