From 970319d2d842ad7a27ee380746facd45a92e603e Mon Sep 17 00:00:00 2001 From: Joseph Date: Sat, 12 Oct 2019 17:27:49 +0100 Subject: [PATCH 1/2] [StoriesIGBridge] Use getName() --- bridges/StoriesIGBridge.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bridges/StoriesIGBridge.php b/bridges/StoriesIGBridge.php index ddf9846b145..ef2b6edf963 100644 --- a/bridges/StoriesIGBridge.php +++ b/bridges/StoriesIGBridge.php @@ -44,4 +44,13 @@ public function getURI(){ return parent::getURI(); } + + public function getName() { + + if (!is_null($this->getInput('username'))) { + return $this->getInput('username') . ' - ' . self::NAME; + } + + return parent::getName(); + } } From 977049a8713bb409ff8a4f93dc74dffe002d496b Mon Sep 17 00:00:00 2001 From: Joseph Date: Sun, 13 Oct 2019 12:46:06 +0100 Subject: [PATCH 2/2] [StoriesIGBridge] Remove whitespace --- bridges/StoriesIGBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/StoriesIGBridge.php b/bridges/StoriesIGBridge.php index ef2b6edf963..7f2c396faf6 100644 --- a/bridges/StoriesIGBridge.php +++ b/bridges/StoriesIGBridge.php @@ -44,7 +44,7 @@ public function getURI(){ return parent::getURI(); } - + public function getName() { if (!is_null($this->getInput('username'))) {