summaryrefslogtreecommitdiffstats
path: root/apps/files/lib
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-11-18 10:34:52 +0100
committerJoas Schilling <nickvergessen@owncloud.com>2015-11-30 17:14:47 +0100
commite9094b8a41e81fbd4f86aae5a4cadcab0674d93c (patch)
tree7f46a44553954348a6adb4194f0235669d754ecb /apps/files/lib
parent6e0596432c174b73d11b5bfba04f53108d788d9a (diff)
downloadnextcloud-server-e9094b8a41e81fbd4f86aae5a4cadcab0674d93c.tar.gz
nextcloud-server-e9094b8a41e81fbd4f86aae5a4cadcab0674d93c.zip
Only require the interface
Diffstat (limited to 'apps/files/lib')
-rw-r--r--apps/files/lib/activity.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/files/lib/activity.php b/apps/files/lib/activity.php
index c171b3bfabf..132f4169dee 100644
--- a/apps/files/lib/activity.php
+++ b/apps/files/lib/activity.php
@@ -22,7 +22,7 @@
namespace OCA\Files;
-use OC\L10N\Factory;
+use OCP\L10N\IFactory;
use OCP\Activity\IExtension;
use OCP\Activity\IManager;
use OCP\IConfig;
@@ -43,7 +43,7 @@ class Activity implements IExtension {
/** @var IL10N */
protected $l;
- /** @var Factory */
+ /** @var IFactory */
protected $languageFactory;
/** @var IURLGenerator */
@@ -59,13 +59,13 @@ class Activity implements IExtension {
protected $helper;
/**
- * @param Factory $languageFactory
+ * @param IFactory $languageFactory
* @param IURLGenerator $URLGenerator
* @param IManager $activityManager
* @param ActivityHelper $helper
* @param IConfig $config
*/
- public function __construct(Factory $languageFactory, IURLGenerator $URLGenerator, IManager $activityManager, ActivityHelper $helper, IConfig $config) {
+ public function __construct(IFactory $languageFactory, IURLGenerator $URLGenerator, IManager $activityManager, ActivityHelper $helper, IConfig $config) {
$this->languageFactory = $languageFactory;
$this->URLGenerator = $URLGenerator;
$this->l = $this->getL10N();