summaryrefslogtreecommitdiffstats
path: root/appinfo/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'appinfo/app.php')
-rw-r--r--appinfo/app.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/appinfo/app.php b/appinfo/app.php
index 98268df08..e5ffadef9 100644
--- a/appinfo/app.php
+++ b/appinfo/app.php
@@ -55,4 +55,7 @@ if(\OCP\App::isEnabled('appframework')){
$api->addRegularTask('OCA\News\Backgroundjob\Task', 'run');
+} else {
+ $msg = 'Can not enable the News app because the App Framework App is disabled';
+ \OCP\Util::writeLog('news', $msg, \OCP\Util::ERROR);
} \ No newline at end of file