Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CarnetApp/CarnetNextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhie <phie@phie.ovh>2019-09-30 14:01:52 +0300
committerPhie <phie@phie.ovh>2019-09-30 14:01:52 +0300
commitbff682568b997b949e4878dfc5e4db4f5c32c8dc (patch)
treeb1c71223d2219eaef9503c0b0c0fb243416042c1
parent2383e8e81b27c851b7fbf4ffc746002d1bcb04e5 (diff)
Revert "send json for settings"
This reverts commit ab7eac4cbc2e74924ce6af5cdd6e2d7e0925762d.
-rwxr-xr-xlib/Controller/NoteController.php5
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(){