code cleanup

This commit is contained in:
redmatrix
2016-05-24 20:49:23 -07:00
parent f9a295a236
commit 80f2ba640e
30 changed files with 29 additions and 585 deletions

View File

@@ -275,7 +275,6 @@ function bb_location($match) {
* @return string HTML iframe with content of $match[1]
*/
function bb_iframe($match) {
$a = get_app();
$sandbox = ((strpos($match[1], App::get_hostname())) ? ' sandbox="allow-scripts" ' : '');
@@ -449,8 +448,6 @@ function bb_sanitize_style($input) {
function bb_observer($Text) {
$a = get_app();
$observer = App::get_observer();
if ((strpos($Text,'[/observer]') !== false) || (strpos($Text,'[/rpost]') !== false)) {