diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-21 16:45:36 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-21 16:45:36 +0200 |
commit | 42d69a95f3276a2d6089ca68f635c4e2f6aa7a23 (patch) | |
tree | 6a17fd7998f291e6dec1d996c1e7c724b92b8e58 /controller/utilityapicontroller.php | |
parent | 0e6598b0734fb927109f745d9c0f3a8605a30ca5 (diff) |
convert tabs indention to indention with 4 spaces because of mixing of both variants in code and better readability on github and websites because you cant set the indention width there and 8 spaces will be used for a tab
Diffstat (limited to 'controller/utilityapicontroller.php')
-rw-r--r-- | controller/utilityapicontroller.php | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/controller/utilityapicontroller.php b/controller/utilityapicontroller.php index 6dae8d027..44745a074 100644 --- a/controller/utilityapicontroller.php +++ b/controller/utilityapicontroller.php @@ -23,45 +23,45 @@ use \OCA\News\Utility\Updater; class UtilityApiController extends ApiController { - private $updater; - private $settings; + private $updater; + private $settings; - public function __construct($appName, - IRequest $request, - Updater $updater, - IConfig $settings){ - parent::__construct($appName, $request); - $this->updater = $updater; - $this->settings = $settings; - } + public function __construct($appName, + IRequest $request, + Updater $updater, + IConfig $settings){ + parent::__construct($appName, $request); + $this->updater = $updater; + $this->settings = $settings; + } - /** - * @NoAdminRequired - * @NoCSRFRequired - * @API - */ - public function version() { - $version = $this->settings->getAppValue($this->appName, - 'installed_version'); - return ['version' => $version]; - } + /** + * @NoAdminRequired + * @NoCSRFRequired + * @API + */ + public function version() { + $version = $this->settings->getAppValue($this->appName, + 'installed_version'); + return ['version' => $version]; + } - /** - * @NoCSRFRequired - */ - public function beforeUpdate() { - $this->updater->beforeUpdate(); - } + /** + * @NoCSRFRequired + */ + public function beforeUpdate() { + $this->updater->beforeUpdate(); + } - /** - * @NoCSRFRequired - */ - public function afterUpdate() { - $this->updater->afterUpdate(); - } + /** + * @NoCSRFRequired + */ + public function afterUpdate() { + $this->updater->afterUpdate(); + } } |