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

23 lines
543 B
PHP
Raw Normal View History

2011-12-16 23:31:35 +00:00
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
2012-11-09 23:13:57 +00:00
* Renew an SSL Certificate
2011-12-16 23:31:35 +00:00
*
* @package OSB
* @subpackage SSL
2012-11-09 23:13:57 +00:00
* @category SSL/Task
2011-12-16 23:31:35 +00:00
* @author Deon George
* @copyright (c) 2010 Open Source Billing
* @license http://dev.osbill.net/license.html
*/
2012-11-09 23:13:57 +00:00
class Task_SSL_Renew extends Task {
2011-12-16 23:31:35 +00:00
/**
* Renew a certificate
*/
2012-11-09 23:13:57 +00:00
protected function _execute(array $params) {
2011-12-16 23:31:35 +00:00
// @todo, Change this to be a SSL id, maybe list all the certs expiring
2012-11-09 23:13:57 +00:00
ORM::factory('Service',$params['id'])->plugin()->renew();
2011-12-16 23:31:35 +00:00
}
}
?>