Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2017-06-12 13:28:55 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2017-06-12 13:28:55 +0300
commitbab5af14bacfef42cb47c49a5a7c7cc91e837e71 (patch)
treed7ba01ba7b6b4605b03cda31cfad0e7e231dc47a /lib/AppInfo
parenta6457d8929f96109c94c90ec8218bcbf27f9b35d (diff)
Increase test coverage
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/AppInfo')
-rw-r--r--lib/AppInfo/Application.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php
index 0da8c88aa..39433c775 100644
--- a/lib/AppInfo/Application.php
+++ b/lib/AppInfo/Application.php
@@ -22,7 +22,6 @@
namespace OCA\Mail\AppInfo;
-use OC;
use OCA\Mail\Contracts\IMailManager;
use OCA\Mail\Service\MailManager;
use OCP\AppFramework\App;
@@ -53,7 +52,7 @@ class Application extends App {
return $container->getServer()->getUserFolder($user);
});
$container->registerParameter("testSmtp", $testSmtp);
- $container->registerParameter("referrer", isset($_SERVER['HTTP_REFERER']) ? : null);
+ $container->registerParameter("referrer", isset($_SERVER['HTTP_REFERER']) ?: null);
$container->registerParameter("hostname", Util::getServerHostName());
}