Beispiel #1
0
 private static function logoutAction()
 {
     $session = new Session();
     Response::json($session->logout());
 }
Beispiel #2
0
 private static function initAction()
 {
     $return = array('status' => LYCHEE_STATUS_NOCONFIG);
     Response::json($return);
 }
Beispiel #3
0
 private static function setDropboxKeyAction()
 {
     Validator::required(isset($_POST['key']), __METHOD__);
     Response::json(Settings::setDropboxKey($_POST['key']));
 }