From 08477e28bef246cbad0492e9c3e633a0ecf488f4 Mon Sep 17 00:00:00 2001 From: e-alfred Date: Thu, 27 Sep 2018 14:38:44 +0200 Subject: [PATCH] Fix deprecated calls --- files_reader/ajax/personal.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files_reader/ajax/personal.php b/files_reader/ajax/personal.php index e18e2df..760c1df 100644 --- a/files_reader/ajax/personal.php +++ b/files_reader/ajax/personal.php @@ -21,9 +21,9 @@ $EpubEnable = isset($_POST['EpubEnable']) ? $_POST['EpubEnable'] : 'false'; $PdfEnable = isset($_POST['PdfEnable']) ? $_POST['PdfEnable'] : 'false'; $CbxEnable = isset($_POST['CbxEnable']) ? $_POST['CbxEnable'] : 'false'; -Config::set('epub_enable', $EpubEnable); -Config::set('pdf_enable', $PdfEnable); -Config::set('cbx_enable', $CbxEnable); +\OC::$server->getConfig()->setAppValue('epub_enable', $EpubEnable); +\OC::$server->getConfig()->setAppValue('pdf_enable', $PdfEnable); +\OC::$server->getConfig()->setAppValue('cbx_enable', $CbxEnable); \OCP\JSON::success( array(