aboutsummaryrefslogtreecommitdiff
path: root/video.install
diff options
context:
space:
mode:
Diffstat (limited to 'video.install')
-rw-r--r--video.install20
1 files changed, 11 insertions, 9 deletions
diff --git a/video.install b/video.install
index 1d07e50..bec9c52 100644
--- a/video.install
+++ b/video.install
@@ -89,22 +89,24 @@ function video_install() {
* Implementation of hook_uninstall().
*/
function video_uninstall() {
-// drupal_uninstall_schema('video');
+ return;
+ drupal_uninstall_schema('video');
// Delete all variables which begin with the namespaced "video_*".
- $video_vars = array();
- $query = "SELECT name FROM {variable} WHERE name LIKE '%video_%'";
- $video_vars = db_query($query);
- while ($result = db_fetch_array($video_vars)) {
- if (strpos($result['name'], 'video') === 0) {
- variable_del($result['name']);
- }
- }
+// $video_vars = array();
+// $query = "SELECT name FROM {variable} WHERE name LIKE '%video_%'";
+// $video_vars = db_query($query);
+// while ($result = db_fetch_array($video_vars)) {
+// if (strpos($result['name'], 'video') === 0) {
+// variable_del($result['name']);
+// }
+// }
}
/**
* Implements hook_field_schema().
*/
function video_field_schema($field) {
+ return;
return array(
'columns' => array(
'fid' => array(