diff options
-rw-r--r-- | app/news.php | 2 | ||||
-rw-r--r-- | core/db.php | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/app/news.php b/app/news.php index aeb12f620..3658dac3c 100644 --- a/app/news.php +++ b/app/news.php @@ -263,7 +263,7 @@ class News extends App { }); $container->registerService('Db', function($c) { - return new Db($c['AppName']); + return new Db(); }); $container->registerService('Settings', function($c) { diff --git a/core/db.php b/core/db.php index ed9a0ee98..507f6ed85 100644 --- a/core/db.php +++ b/core/db.php @@ -25,12 +25,6 @@ namespace OCA\News\Core; class Db { - protected $appName; - - public function __construct($appName) { - $this->appName = $appName; - } - /** * Used to abstract the owncloud database access away |