Skip to content
Snippets Groups Projects
Commit 6f20e081 authored by Björn Schießle's avatar Björn Schießle
Browse files

added missing isEmpty ajax file

parent 10939b0b
Branches
No related tags found
No related merge requests found
<?php
/*
* Check if trash bin is empty to re-enable the deleted files button if needed
*/
OCP\JSON::checkLoggedIn();
OCP\JSON::callCheck();
$trashStatus = OCA\Files_Trashbin\Trashbin::isEmpty(OCP\User::getUser());
OCP\JSON::success(array("data" => array("isEmpty" => $trashStatus)));
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment