Skip to content

Commit

Permalink
more updates to the plugin names and descriptions and improving on th…
Browse files Browse the repository at this point in the history
…e activation and deactivation sections and logging lines
  • Loading branch information
detain committed Jul 8, 2017
1 parent 2117415 commit 219d7d9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Plugin.php
Expand Up @@ -6,8 +6,8 @@

class Plugin {

public static $name = 'Fantastico Licensing VPS Addon';
public static $description = 'Allows selling of Fantastico Server and VPS License Types. More info at https://www.netenberg.com/fantastico.php';
public static $name = 'Fantastico VPS Addon';
public static $description = 'Allows selling of Fantastico Licenses as a VPS Addon. More info at https://www.netenberg.com/fantastico.php';
public static $help = 'It provides more than one million end users the ability to quickly install dozens of the leading open source content management systems into their web space. Must have a pre-existing cPanel license with cPanelDirect to purchase a fantastico license. Allow 10 minutes for activation.';
public static $module = 'vps';
public static $type = 'addon';
Expand Down Expand Up @@ -41,12 +41,14 @@ public static function doEnable(\Service_Order $serviceOrder, $repeatInvoiceId,
$serviceInfo = $serviceOrder->getServiceInfo();
$settings = get_module_settings(self::$module);
require_once __DIR__.'/../../../../include/licenses/license.functions.inc.php';
myadmin_log(self::$module, 'info', self::$name.' Activation', __LINE__, __FILE__);
function_requirements('activate_fantastico');
activate_fantastico($serviceInfo[$settings['PREFIX'].'_ip'], 2);
$GLOBALS['tf']->history->add($settings['TABLE'], 'add_fantastico', $serviceInfo[$settings['PREFIX'].'_id'], $serviceInfo[$settings['PREFIX'].'_ip'], $serviceInfo[$settings['PREFIX'].'_custid']);
}

public static function doDisable(\Service_Order $serviceOrder) {

}

public static function getSettings(GenericEvent $event) {
Expand Down

0 comments on commit 219d7d9

Please sign in to comment.