Fixes from live website

This commit is contained in:
Deon George
2013-04-20 11:40:44 +10:00
parent 13982be9f6
commit 79c76995b9
22 changed files with 283 additions and 55 deletions

View File

@@ -0,0 +1,21 @@
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* Renew an SSL Certificate
*
* @package SSL
* @category Tasks
* @author Deon George
* @copyright (c) 2009-2013 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();
}
}
?>