summaryrefslogtreecommitdiffstats
path: root/appinfo/app.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-04-20 16:38:53 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-04-20 16:38:53 +0200
commit057172ab9bdbd44a70b3ef4bcae696e06b1a7e00 (patch)
tree18d1caecb380eefcb693f69fe49c9078caa5cbf2 /appinfo/app.php
parentad919b8965ec98a0549c9ad75dd6f5053df895f4 (diff)
error log when appframework is not enabled
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