aboutsummaryrefslogtreecommitdiff
path: root/plugins/video_image/video_image.module
diff options
context:
space:
mode:
authorFabio Varesano <fax8@13637.no-reply.drupal.org>2006-09-21 12:25:55 +0000
committerFabio Varesano <fax8@13637.no-reply.drupal.org>2006-09-21 12:25:55 +0000
commit781a2e7c4fb8901e14e5a2b2d537185b88c36e97 (patch)
treed2cb06557432b2bda67f83716844e6c8ac3524e7 /plugins/video_image/video_image.module
parentd7b1524caa8aa292df7dfea0bead120df68ea5cb (diff)
downloadvideo-781a2e7c4fb8901e14e5a2b2d537185b88c36e97.tar.gz
video-781a2e7c4fb8901e14e5a2b2d537185b88c36e97.tar.bz2
Patch #82224 by vhmauery (http://drupal.org/user/28957)
Bring Video up to date with HEAD: updated all video modules to be used on next drupal 5.0
Diffstat (limited to 'plugins/video_image/video_image.module')
-rw-r--r--plugins/video_image/video_image.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/video_image/video_image.module b/plugins/video_image/video_image.module
index 9664523..18c249b 100644
--- a/plugins/video_image/video_image.module
+++ b/plugins/video_image/video_image.module
@@ -63,7 +63,7 @@ function video_image_nodeapi(&$node, $op, $teaser) {
break;
case 'prepare':
// check that image.module is actived
- if ( !module_exist("image")) {
+ if ( !module_exists("image")) {
db_query("UPDATE {system} SET status = 0 WHERE name ='video_image' AND type = 'module' LIMIT 1");
drupal_set_message(t('video_image module requires the %module module.<br />To prevent system errors video_image module has been disabled.<br />Please install the image module and then reactivate the video_image module.', array('%module' => l('image', 'http://drupal.org/project/image'))), 'error');
break;