Permalink
Browse files

adapted to http://drupal.org/coding-standards

checked with coder module
  • Loading branch information...
1 parent c643bd4 commit e170f253f96d196d1f5cb2c84d3726656964ae19 @Drupalfarms committed May 15, 2011
Showing with 543 additions and 536 deletions.
  1. +1 −1 uc_attribute_files.info
  2. +5 −5 uc_attribute_files.install
  3. +537 −530 uc_attribute_files.module
@@ -1,4 +1,4 @@
-; $Id:
+; $Id$
name = UC_attribute_files
description = Extends product attributes in Ubercart to allow a customer to attach a file upload to a product in their cart. Module supports filtering of file types allowed to upload either globally, or by adding the file type extension to the list of options.
dependencies[] = uc_product
@@ -1,5 +1,5 @@
<?php
-// $Id:
+// $Id$
/**
* @file
@@ -17,15 +17,15 @@ function uc_attribute_files_schema() {
* Implmentation of hook_install().
*/
function uc_attribute_files_install() {
- variable_set('uc_attribute_files_cart_filepath', file_directory_path() . '/cart');
- variable_set('uc_attribute_files_order_filepath', file_directory_path() . '/orders');
+ variable_set('uc_attribute_files_cart_filepath', file_directory_path() . '/cart');
+ variable_set('uc_attribute_files_order_filepath', file_directory_path() . '/orders');
}
/**
* Implementation of hook_uninstall().
*/
function uc_attribute_files_uninstall() {
- variable_del('uc_attribute_files_cart_filepath');
- variable_del('uc_attribute_files_order_filepath');
+ variable_del('uc_attribute_files_cart_filepath');
+ variable_del('uc_attribute_files_order_filepath');
}
//*/
Oops, something went wrong.

0 comments on commit e170f25

Please sign in to comment.