1
0
Fork 0
mirror of https://github.com/Yetangitu/owncloud-apps.git synced 2025-10-02 14:49:17 +02:00

Fix deprecated calls

This commit is contained in:
e-alfred 2018-09-27 14:38:44 +02:00 committed by GitHub
parent ede99e2583
commit 08477e28be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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(