06aef4e8b1
This reverts commit 6a1a4880f0
.
7 lines
197 B
PHP
7 lines
197 B
PHP
<?php
|
|
OCP\JSON::checkLoggedIn();
|
|
OCP\JSON::callCheck();
|
|
|
|
$name = (string)$_POST['cert'];
|
|
$certificateManager = \OC::$server->getCertificateManager();
|
|
$certificateManager->removeCertificate($name);
|