. * */ // Check if we are a user OCP\JSON::checkLoggedIn(); OCP\JSON::callCheck(); OCP\JSON::checkAppEnabled('bookmarks'); if(isset($_POST['old_name'])) { OC_Bookmarks_Bookmarks::deleteTag($_POST['old_name']); OCP\JSON::success(); exit(); } OC_JSON::error(); exit();