add command clearclipboard

This commit is contained in:
Uwe Steinmann 2016-08-09 18:14:32 +02:00
parent e8c15079eb
commit b110549972

View File

@ -204,6 +204,14 @@ switch($command) {
}
break; /* }}} */
case 'clearclipboard': /* {{{ */
if($user) {
$session->clearClipboard();
header('Content-Type: application/json');
echo json_encode(array('success'=>true, 'message'=>getMLText('splash_cleared_clipboard')));
}
break; /* }}} */
case 'movefolder': /* {{{ */
if($user) {
if(!checkFormKey('movefolder', 'GET')) {