summaryrefslogtreecommitdiffstats
path: root/backgroundjob/task.php
diff options
context:
space:
mode:
Diffstat (limited to 'backgroundjob/task.php')
-rw-r--r--backgroundjob/task.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/backgroundjob/task.php b/backgroundjob/task.php
index 5ea9c6a7d..a7ffc3e8c 100644
--- a/backgroundjob/task.php
+++ b/backgroundjob/task.php
@@ -14,14 +14,14 @@
namespace OCA\News\BackgroundJob;
-use \OCA\News\App\News;
+use \OCA\News\AppInfo\Application;
class Task {
static public function run() {
- $app = new News();
+ $app = new Application();
$container = $app->getContainer();
// make it possible to turn off cron updates if you use an external