diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-20 16:38:53 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-20 16:38:53 +0200 |
commit | 057172ab9bdbd44a70b3ef4bcae696e06b1a7e00 (patch) | |
tree | 18d1caecb380eefcb693f69fe49c9078caa5cbf2 /appinfo | |
parent | ad919b8965ec98a0549c9ad75dd6f5053df895f4 (diff) |
error log when appframework is not enabled
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/app.php | 3 |
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 |