Skip to content

Commit

Permalink
code cleanup update
Browse files Browse the repository at this point in the history
  • Loading branch information
detain committed Jun 24, 2017
1 parent 69de6e4 commit 5d48257
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ class Plugin {
public static $type = 'module';
public static $settings = [
'SERVICE_ID_OFFSET' => 2000,
'USE_REPEAT_INVOICE' => true,
'USE_PACKAGES' => true,
'USE_REPEAT_INVOICE' => TRUE,
'USE_PACKAGES' => TRUE,
'BILLING_DAYS_OFFSET' => 0,
'IMGNAME' => 'servers_48.png',
'REPEAT_BILLING_METHOD' => PRORATE_BILLING,
Expand Down Expand Up @@ -47,6 +47,6 @@ public static function loadProcessing(GenericEvent $event) {

public static function getSettings(GenericEvent $event) {
$settings = $event->getSubject();
$settings->add_dropdown_setting(self::$module, 'General', 'outofstock_backups', 'Out Of Stock Backups', 'Enable/Disable Sales Of This Type', $settings->get_setting('OUTOFSTOCK_BACKUPS'), array('0', '1'), array('No', 'Yes', ));
$settings->add_dropdown_setting(self::$module, 'General', 'outofstock_backups', 'Out Of Stock Backups', 'Enable/Disable Sales Of This Type', $settings->get_setting('OUTOFSTOCK_BACKUPS'), array('0', '1'), array('No', 'Yes',));
}
}

0 comments on commit 5d48257

Please sign in to comment.