diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-11-29 14:05:10 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-11-29 14:05:10 +0100 |
commit | d526ab55fb501ae8940ea370dbfe773679b95d38 (patch) | |
tree | 5167dfb2242607aa323c81b237029ac20b6ee32a /apps/files/lib/Controller/ApiController.php | |
parent | 80b3452da2275280bd786ada41277e167a7ce43a (diff) | |
download | nextcloud-server-d526ab55fb501ae8940ea370dbfe773679b95d38.tar.gz nextcloud-server-d526ab55fb501ae8940ea370dbfe773679b95d38.zip |
Fix default filepicker style and gridview
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/lib/Controller/ApiController.php')
-rw-r--r-- | apps/files/lib/Controller/ApiController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/lib/Controller/ApiController.php b/apps/files/lib/Controller/ApiController.php index a967c8bd7bb..f9e4bcb5738 100644 --- a/apps/files/lib/Controller/ApiController.php +++ b/apps/files/lib/Controller/ApiController.php @@ -286,7 +286,7 @@ class ApiController extends Controller { * @NoAdminRequired */ public function getGridView() { - $status = $this->config->getUserValue($this->userSession->getUser()->getUID(), 'files', 'show_grid', '1') === '1'; + $status = $this->config->getUserValue($this->userSession->getUser()->getUID(), 'files', 'show_grid', '0') === '1'; return new JSONResponse(['gridview' => $status]); } |