Remove old settings file

Remove the 'personal.php' file to remove the duplicate personal settings
page
This commit is contained in:
sysadminstory 2022-01-24 22:53:10 +01:00
parent 9f1250afa2
commit 69d4859b71
2 changed files with 0 additions and 26 deletions

View File

@ -19,4 +19,3 @@ $l = \OC::$server->getL10N('epubreader');
\OCA\Epubreader\Hooks::register(); \OCA\Epubreader\Hooks::register();
Util::addscript('epubreader', 'plugin'); Util::addscript('epubreader', 'plugin');
\OCP\App::registerPersonal('epubreader', 'personal');

View File

@ -1,25 +0,0 @@
<?php
/**
* ownCloud - Epubreader app
*
* Copyright (c) 2014,2018 Frank de Lange
* This file is licensed under the Affero General Public License version 3 or
* later.
* See the COPYING-README file.
*/
namespace OCA\Epubreader;
use OCP\Util;
#$l = \OC::$server->getL10N('epubreader');
$tmpl = new \OCP\Template('epubreader', 'settings-personal');
$EpubEnable = Config::get('epub_enable', 'true');
$PdfEnable = Config::get('pdf_enable', 'true');
$CbxEnable = Config::get('cbx_enable', 'true');
$tmpl->assign('EpubEnable', $EpubEnable);
$tmpl->assign('PdfEnable', $PdfEnable);
$tmpl->assign('CbxEnable', $CbxEnable);
return $tmpl->fetchPage();