1
0
Fork 0
mirror of https://github.com/Yetangitu/owncloud-apps.git synced 2025-10-02 14:49:17 +02:00
nextcloud-apps/files_opds/ajax/clear_bookshelf.php
2019-07-16 00:09:30 +02:00

21 lines
427 B
PHP

<?php
/**
* ownCloud - Files_Opds App
*
* @author Frank de Lange
* @copyright 2014 Frank de Lange
*
* This file is licensed under the Affero General Public License version 3 or
* later.
*/
namespace OCA\Files_Opds;
$l = \OC::$server->getL10N('files_opds');
\OC_JSON::checkLoggedIn();
\OC_JSON::callCheck();
Bookshelf::clear();
\OC_JSON::success(array( "data" => array( "message" => $l->t("Bookshelf cleared"))));