diff options
author | Heshan Wanigasooriya <heshanmw@gmail.com> | 2011-01-08 05:44:36 +0000 |
---|---|---|
committer | Heshan Wanigasooriya <heshanmw@gmail.com> | 2011-01-08 05:44:36 +0000 |
commit | 42bb65a75da1adb88f07d01677e2b80ee6b59039 (patch) | |
tree | 410dfbc2a1a02e31ba6b25bceb92b6cbf6621d93 /plugins/video_s3 | |
parent | 60fe72098ba214aa6a6f5860ad8411a7bbb1f8dd (diff) | |
download | video-42bb65a75da1adb88f07d01677e2b80ee6b59039.tar.gz video-42bb65a75da1adb88f07d01677e2b80ee6b59039.tar.bz2 |
Adding namespace to the video module variables
Diffstat (limited to 'plugins/video_s3')
-rw-r--r-- | plugins/video_s3/filesystem/video_s3.inc | 2 | ||||
-rw-r--r-- | plugins/video_s3/video_s3.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/video_s3/filesystem/video_s3.inc b/plugins/video_s3/filesystem/video_s3.inc index e103e1c..30f8033 100644 --- a/plugins/video_s3/filesystem/video_s3.inc +++ b/plugins/video_s3/filesystem/video_s3.inc @@ -104,7 +104,7 @@ class video_s3 extends video_filesystem { //lets show our buckets in table format with a delete link. //@todo add permissions //were enabled, that means they have successfully connected and created a bucket. - if (variable_get('amazon_s3_access_key', false) && variable_get('vid_filesystem', 'drupal') == 'video_s3') { + if (variable_get('amazon_s3_access_key', false) && variable_get('video_filesystem', 'drupal') == 'video_s3') { module_load_include('inc', 'video_s3', '/includes/amazon_s3'); $s3 = new video_amazon_s3; $s3->connect(); diff --git a/plugins/video_s3/video_s3.module b/plugins/video_s3/video_s3.module index 274da26..898a3eb 100644 --- a/plugins/video_s3/video_s3.module +++ b/plugins/video_s3/video_s3.module @@ -46,7 +46,7 @@ function video_s3_menu() { */ function video_s3_cron() { - $filesystem = variable_get('vid_filesystem', 'drupal'); + $filesystem = variable_get('video_filesystem', 'drupal'); if ($filesystem == 'video_s3') { module_load_include('inc', 'video_s3', '/includes/amazon_s3'); $s3 = new video_amazon_s3; |