Fixes to OSB to work with KH 3.3
This commit is contained in:
22
modules/ssl/classes/Task/SSL/Renew.php
Normal file
22
modules/ssl/classes/Task/SSL/Renew.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php defined('SYSPATH') or die('No direct access allowed.');
|
||||
|
||||
/**
|
||||
* Renew an SSL Certificate
|
||||
*
|
||||
* @package OSB
|
||||
* @subpackage SSL
|
||||
* @category SSL/Task
|
||||
* @author Deon George
|
||||
* @copyright (c) 2010 Open Source Billing
|
||||
* @license http://dev.osbill.net/license.html
|
||||
*/
|
||||
class Task_SSL_Renew extends Task {
|
||||
/**
|
||||
* Renew a certificate
|
||||
*/
|
||||
protected function _execute(array $params) {
|
||||
// @todo, Change this to be a SSL id, maybe list all the certs expiring
|
||||
ORM::factory('Service',$params['id'])->plugin()->renew();
|
||||
}
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user