RIP Legacy Mode

This commit is contained in:
Pablo Ferreiro 2022-06-04 21:04:43 +02:00
parent bdba336d3c
commit e12d26562d
No known key found for this signature in database
GPG key ID: 41FBCE65B779FA24
8 changed files with 14 additions and 33 deletions

View file

@ -25,10 +25,7 @@ class SettingsController {
self::redirect();
}
static public function api() {
if (isset($_POST['api-legacy'])) {
$legacy = $_POST['api-legacy'];
}
Cookies::set('api-legacy', $legacy);
// TODO, ADD COUNT
self::redirect();
}
}