Skip to content

Commit

Permalink
Minor tweaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
judgej committed May 15, 2015
1 parent fb47a0b commit 9208c21
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 4 additions & 1 deletion classes/Academe_Multiple_Packages.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ class Academe_Multiple_Packages
// Singleton instance.
private static $instance;

// The shipping method ID.
protected $id = 'academe_multiple_packages';

// The current packages list.
protected $packages = array();

Expand All @@ -24,7 +27,7 @@ public function __construct()
// Get the settings from the plugin.
// CHEKME: there may be an API for this.
$settings = get_option(
'woocommerce_' . 'academe_multiple' . '_packages_settings',
'woocommerce_' . $this->id . '_settings',
array()
);

Expand Down
3 changes: 0 additions & 3 deletions classes/Academe_Multiple_Packages_Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ public function __construct()
// Description shown in admin
$this->method_description = __('Group products in an order into shipping packages');

// Can be forced if needed, but we'll just keep it selectable in the settings page.
//$this->enabled = "yes";

$this->init();
}

Expand Down

0 comments on commit 9208c21

Please sign in to comment.