Commit 6376db27 authored by anthonylindsay's avatar anthonylindsay

Removed unnecessary default assignments from variable get.

parent ee0560e0
......@@ -200,8 +200,8 @@ function commerce_popular_products_settings() {
* Produces the Settings Page form.
*/
function commerce_popular_products_settings_form($form, &$form_state) {
$time = variable_get('commerce_popular_products_time', $default = 'month');
$number = variable_get('commerce_popular_products_number', $default = '1');
$time = variable_get('commerce_popular_products_time', 'month');
$number = variable_get('commerce_popular_products_number', '1');
$products = variable_get('commerce_popular_products_products');
$title = variable_get('commerce_popular_products_title', 'Popular Products This Month');
$product_types = commerce_popular_products_get_product_types();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment