diff options
author | Heshan Wanigasooriya <heshanmw@gmail.com> | 2011-01-23 05:37:22 +0000 |
---|---|---|
committer | Heshan Wanigasooriya <heshanmw@gmail.com> | 2011-01-23 05:37:22 +0000 |
commit | 1716ca811681ee5364cc096883add4d6fcf74831 (patch) | |
tree | 80c1befcf11f55b9bc6846b9aa6541ab16c005bc /video.install | |
parent | 7bc9304547b69e97f0bd103b02e75dac485a5da2 (diff) | |
download | video-1716ca811681ee5364cc096883add4d6fcf74831.tar.gz video-1716ca811681ee5364cc096883add4d6fcf74831.tar.bz2 |
Adding latest build to the CVS
Diffstat (limited to 'video.install')
-rw-r--r-- | video.install | 20 |
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( |