7 lines
189 B
PHP
7 lines
189 B
PHP
<?php
|
|
OCP\JSON::checkLoggedIn();
|
|
OCP\JSON::callCheck();
|
|
|
|
$name = $_POST['cert'];
|
|
$certificateManager = \OC::$server->getCertificateManager();
|
|
$certificateManager->removeCertificate($name);
|