Skip to content
Snippets Groups Projects
Select Git revision
  • 06a7d39024b2ad4057a997a4ef59d0cfc166d12c
  • master default protected
2 results

users.js

Blame
  • appsettingscontroller.php 7.87 KiB
    <?php
    /**
     * @author Joas Schilling <nickvergessen@owncloud.com>
     * @author Lukas Reschke <lukas@owncloud.com>
     * @author Morris Jobke <hey@morrisjobke.de>
     * @author Thomas Müller <thomas.mueller@tmit.eu>
     *
     * @copyright Copyright (c) 2015, ownCloud, Inc.
     * @license AGPL-3.0
     *
     * This code is free software: you can redistribute it and/or modify
     * it under the terms of the GNU Affero General Public License, version 3,
     * as published by the Free Software Foundation.
     *
     * This program is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
     * GNU Affero General Public License for more details.
     *
     * You should have received a copy of the GNU Affero General Public License, version 3,
     * along with this program.  If not, see <http://www.gnu.org/licenses/>
     *
     */
    
    namespace OC\Settings\Controller;
    
    use OC\App\DependencyAnalyzer;
    use OC\App\Platform;
    use OC\OCSClient;
    use OCP\App\IAppManager;
    use \OCP\AppFramework\Controller;
    use OCP\AppFramework\Http\ContentSecurityPolicy;
    use OCP\AppFramework\Http\DataResponse;
    use OCP\AppFramework\Http\TemplateResponse;
    use OCP\ICacheFactory;
    use OCP\INavigationManager;
    use OCP\IRequest;
    use OCP\IL10N;
    use OCP\IConfig;
    
    /**
     * @package OC\Settings\Controller
     */
    class AppSettingsController extends Controller {
    
    	/** @var \OCP\IL10N */
    	private $l10n;
    	/** @var IConfig */
    	private $config;
    	/** @var \OCP\ICache */
    	private $cache;
    	/** @var INavigationManager */
    	private $navigationManager;
    	/** @var IAppManager */
    	private $appManager;
    	/** @var OCSClient */
    	private $ocsClient;
    
    	/**
    	 * @param string $appName
    	 * @param IRequest $request
    	 * @param IL10N $l10n
    	 * @param IConfig $config
    	 * @param ICacheFactory $cache
    	 * @param INavigationManager $navigationManager
    	 * @param IAppManager $appManager
    	 * @param OCSClient $ocsClient
    	 */
    	public function __construct($appName,
    								IRequest $request,