blob: 1651f48853a865bbdb02c8e3da3f52603026b1c9 (
plain)
1
2
3
4
5
6
7
|
<?php
OCP\JSON::checkLoggedIn();
OCP\JSON::callCheck();
$name = (string)$_POST['cert'];
$certificateManager = \OC::$server->getCertificateManager();
$certificateManager->removeCertificate($name);
|