mirror of
https://github.com/Yetangitu/owncloud-apps.git
synced 2025-10-02 14:49:17 +02:00
Adjust files_opds for Nextcloud 16
This commit is contained in:
parent
457c1603fa
commit
e3c6d117ed
14 changed files with 165 additions and 71 deletions
|
@ -14,8 +14,8 @@ namespace OCA\Files_Opds;
|
|||
|
||||
$l = \OC::$server->getL10N('files_opds');
|
||||
|
||||
\OCP\JSON::checkLoggedIn();
|
||||
\OCP\JSON::callCheck();
|
||||
\OC_JSON::checkLoggedIn();
|
||||
\OC_JSON::callCheck();
|
||||
|
||||
Meta::rescan();
|
||||
\OCP\JSON::success(array( "data" => array( "message" => $l->t("Rescan scheduled"))));
|
||||
\OC_JSON::success(array( "data" => array( "message" => $l->t("Rescan scheduled"))));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue