From 057172ab9bdbd44a70b3ef4bcae696e06b1a7e00 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Sat, 20 Apr 2013 16:38:53 +0200 Subject: error log when appframework is not enabled --- appinfo/app.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'appinfo/app.php') 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 -- cgit v1.2.3