Skip to content

Commit

Permalink
a bunch of improvements including refactoring some arrays, space chan…
Browse files Browse the repository at this point in the history
…ging, and other tweaks'
  • Loading branch information
detain committed Jul 9, 2017
1 parent 0af431b commit 12ae9a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public static function getRequirements(GenericEvent $event) {
public static function getSettings(GenericEvent $event) {
$settings = $event->getSubject();
$settings->add_select_master(self::$module, 'Default Servers', self::$module, 'new_website_vesta_server', 'Default VestaCP Setup Server', NEW_WEBSITE_VESTA_SERVER, SERVICE_TYPES_WEB_VESTA);
$settings->add_dropdown_setting(self::$module, 'Out of Stock', 'outofstock_webhosting_vestacp', 'Out Of Stock VestaCP Webhosting', 'Enable/Disable Sales Of This Type', $settings->get_setting('OUTOFSTOCK_WEBHOSTING_VESTACP'), array('0', '1'), array('No', 'Yes',));
$settings->add_dropdown_setting(self::$module, 'Out of Stock', 'outofstock_webhosting_vestacp', 'Out Of Stock VestaCP Webhosting', 'Enable/Disable Sales Of This Type', $settings->get_setting('OUTOFSTOCK_WEBHOSTING_VESTACP'), ['0', '1'], ['No', 'Yes']);
}

}

0 comments on commit 12ae9a0

Please sign in to comment.