diff options
author | Phie <phie@phie.ovh> | 2019-09-30 14:01:52 +0300 |
---|---|---|
committer | Phie <phie@phie.ovh> | 2019-09-30 14:01:52 +0300 |
commit | bff682568b997b949e4878dfc5e4db4f5c32c8dc (patch) | |
tree | b1c71223d2219eaef9503c0b0c0fb243416042c1 /lib/Controller | |
parent | 2383e8e81b27c851b7fbf4ffc746002d1bcb04e5 (diff) |
Revert "send json for settings"
This reverts commit ab7eac4cbc2e74924ce6af5cdd6e2d7e0925762d.
Diffstat (limited to 'lib/Controller')
-rwxr-xr-x | lib/Controller/NoteController.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Controller/NoteController.php b/lib/Controller/NoteController.php index 3adbf40..626aaf0 100755 --- a/lib/Controller/NoteController.php +++ b/lib/Controller/NoteController.php @@ -174,10 +174,7 @@ * @NoAdminRequired */ public function getUISettings() { - $settings = $this->Config->getUserValue($this->userId, $this->appName,"browser_settings"); - if(empty($settings)) - $settings = "{}"; - return json_decode($settings); + return $this->Config->getUserValue($this->userId, $this->appName,"browser_settings"); } private function getRecentFile(){ |