From 1716ca811681ee5364cc096883add4d6fcf74831 Mon Sep 17 00:00:00 2001 From: Heshan Wanigasooriya Date: Sun, 23 Jan 2011 05:37:22 +0000 Subject: Adding latest build to the CVS --- video.install | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'video.install') 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( -- cgit v1.2.3