Browse files

Fix the Octopus profile options steps issues on Aiger.

  • Loading branch information...
1 parent 80d0821 commit 9d83d7b00928dd5f79bccac4ab3d87bbdff56e7d @heshanlk committed Apr 3, 2012
Showing with 11 additions and 8 deletions.
  1. +11 −8 octopus_video.profile
View
19 octopus_video.profile
@@ -4,14 +4,17 @@
* Implements hook_install_tasks().
*/
function octopus_video_install_tasks($install_state) {
- $tasks['create_categories_form'] = array(
- 'display_name' => st('Set up categories'),
- 'type' => 'form'
- );
- $tasks['configure_zencoder_form'] = array(
- 'display_name' => st('Configure Zencoder'),
- 'type' => 'form',
- );
+ $tasks = array();
+ if (!defined('DRUSH_BASE_PATH')) {
+ $tasks['create_categories_form'] = array(
+ 'display_name' => st('Set up categories'),
+ 'type' => 'form'
+ );
+ $tasks['configure_zencoder_form'] = array(
+ 'display_name' => st('Configure Zencoder'),
+ 'type' => 'form',
+ );
+ }
return $tasks;
}

0 comments on commit 9d83d7b

Please sign in to comment.