diff options
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/app.php | 5 | ||||
-rw-r--r-- | appinfo/application.php | 3 | ||||
-rw-r--r-- | appinfo/install.php | 22 |
3 files changed, 25 insertions, 5 deletions
diff --git a/appinfo/app.php b/appinfo/app.php index 077d0b7c4..a6de66ce2 100644 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -28,7 +28,4 @@ $container = new Application(); $config = $container->getAppConfig(); $config->registerNavigation(); $config->registerBackgroundJobs(); -$config->registerHooks(); - -// check for correct app dependencies and fail if possible -$config->testDependencies(); +$config->registerHooks();
\ No newline at end of file diff --git a/appinfo/application.php b/appinfo/application.php index 5d27fe5dd..cdbaa82d6 100644 --- a/appinfo/application.php +++ b/appinfo/application.php @@ -19,6 +19,7 @@ use \OCP\Util; use \OCP\User; use \OCA\News\Config\AppConfig; +use \OCA\News\Config\Config; use \OCA\News\Controller\PageController; use \OCA\News\Controller\FolderController; @@ -39,7 +40,6 @@ use \OCA\News\Db\FeedMapper; use \OCA\News\Db\StatusFlag; use \OCA\News\Db\MapperFactory; -use \OCA\News\Utility\Config; use \OCA\News\Utility\OPMLExporter; use \OCA\News\Utility\Updater; use \OCA\News\Utility\SimplePieAPIFactory; @@ -470,5 +470,6 @@ class Application extends App { } + public function dispatchPart($controller, $) } diff --git a/appinfo/install.php b/appinfo/install.php new file mode 100644 index 000000000..572f21fff --- /dev/null +++ b/appinfo/install.php @@ -0,0 +1,22 @@ +<?php +/** + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino <cosenal@gmail.com> + * @author Bernhard Posselt <dev@bernhard-posselt.com> + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ + +namespace OCA\News\AppInfo; + +use \OCA\News\Config\DependencyException; + + +// check for correct app dependencies and fail if possible +$container = new Application(); +$config = $container->getAppConfig(); +$config->testDependencies();
\ No newline at end of file |