Version 5.1 - All the GraphQL #32

Closed
timw4mail wants to merge 1160 commits from develop into master
2 changed files with 2 additions and 3 deletions
Showing only changes of commit 4131a019ca - Show all commits

View File

@ -292,14 +292,14 @@ final class Dispatcher extends RoutingBase {
'API request timed out', 'API request timed out',
'Failed to retrieve data from API (╯°□°)╯︵ ┻━┻'); 'Failed to retrieve data from API (╯°□°)╯︵ ┻━┻');
} }
finally /* finally
{ {
// Log out on session/api token expiration // Log out on session/api token expiration
Event::on(EventType::UNAUTHORIZED, static function () { Event::on(EventType::UNAUTHORIZED, static function () {
$controllerName = DEFAULT_CONTROLLER; $controllerName = DEFAULT_CONTROLLER;
(new $controllerName($this->container))->logout(); (new $controllerName($this->container))->logout();
}); });
} } */
} }
/** /**

View File

@ -92,7 +92,6 @@ const SETTINGS_MAP = [
'title' => 'Cache Type', 'title' => 'Cache Type',
'description' => 'The Cache backend', 'description' => 'The Cache backend',
'options' => [ 'options' => [
'APCu' => 'apcu',
'Memcached' => 'memcached', 'Memcached' => 'memcached',
'Redis' => 'redis', 'Redis' => 'redis',
'No Cache' => 'null' 'No Cache' => 'null'