| 1 |
<?php |
<?php |
| 2 |
// $Id$ |
// $Id: uc_restrict_qty.install,v 1.1.2.1 2009/04/13 11:13:42 mrfelton Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 77 |
|
|
| 78 |
db_query("DELETE FROM {variable} WHERE name LIKE 'uc_restrict_qty_%%'"); |
db_query("DELETE FROM {variable} WHERE name LIKE 'uc_restrict_qty_%%'"); |
| 79 |
} |
} |
| 80 |
|
|
| 81 |
|
/** |
| 82 |
|
* Implementation of hook_update_N(). |
| 83 |
|
* |
| 84 |
|
* If updating from an earlier version than 6.x-2.0, the database needs to be installed. |
| 85 |
|
*/ |
| 86 |
|
function uc_restrict_qty_update_6200() { |
| 87 |
|
$ret = array(); |
| 88 |
|
uc_restrict_qty_install(); |
| 89 |
|
return $ret; |
| 90 |
|
} |