This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/modules/ssl/classes/Task/SSL/Renew.php
2012-12-21 13:01:12 +11:00

23 lines
543 B
PHP

<?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();
}
}
?>