From b5776ab9591b3248e02cafb2f72ad1b593467961 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 14 Dec 2016 09:49:52 +0100 Subject: [PATCH] Fixes for #3010: - used static call, still App::get_baseurl() wraps it into an object-referencing call which seems to be a bit redundant? - added spaces around dot (see one line below) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- include/notifier.php | 1 - include/oembed.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/notifier.php b/include/notifier.php index 33eeee62fd..a55a60efd1 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -424,7 +424,6 @@ function notifier_run(&$argv, &$argc){ $url_recipients[$probed_contact["notify"]] = $probed_contact["notify"]; } - // Send a salmon to the parent author $probed_contact = probe_url($thr_parent[0]['author-link']); if ($probed_contact["notify"] != "") { logger('Notify parent author '.$probed_contact["url"].': '.$probed_contact["notify"]); diff --git a/include/oembed.php b/include/oembed.php index dbe934ff6d..f860a545fb 100755 --- a/include/oembed.php +++ b/include/oembed.php @@ -264,7 +264,7 @@ function oembed_iframe($src, $width, $height) { } $width = '100%'; - $s = $a->get_baseurl() . '/oembed/'.base64url_encode($src); + $s = App::get_baseurl() . '/oembed/' . base64url_encode($src); return ''; } -- 2.39.5