Misc
- {include '../components/settings/misc.latte'} -diff --git a/app/Controllers/SettingsController.php b/app/Controllers/SettingsController.php index 68707d9..f3fb979 100644 --- a/app/Controllers/SettingsController.php +++ b/app/Controllers/SettingsController.php @@ -34,14 +34,6 @@ class SettingsController { self::redirect(); } - static public function misc() { - if (isset($_POST['misc-sw'])) { - $sw = $_POST['misc-sw']; - Cookies::set("misc-sw", $sw); - } - self::redirect(); - } - static private function redirect() { $url = Misc::url('/settings'); header("Location: {$url}"); diff --git a/components/head.latte b/components/head.latte index cce56a1..020ef33 100644 --- a/components/head.latte +++ b/components/head.latte @@ -16,8 +16,4 @@
Api
{include '../components/settings/api.latte'} -Misc
- {include '../components/settings/misc.latte'} -