From cb0916d10e4a42a62f0ac8c69ecb4b7a15f398b4 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 20 Jun 2015 10:48:47 -0400 Subject: Add automatic action to send a task by email --- app/Helper/Url.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'app/Helper') diff --git a/app/Helper/Url.php b/app/Helper/Url.php index 64b2c83f..e133f195 100644 --- a/app/Helper/Url.php +++ b/app/Helper/Url.php @@ -88,13 +88,7 @@ class Url extends \Core\Base */ public function base() { - $application_url = $this->config->get('application_url'); - - if (! empty($application_url)) { - return $application_url; - } - - return $this->server(); + return $this->config->get('application_url') ?: $this->server(); } /** -- cgit v1.2.3