Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix the Octopus profile options steps issues on Aiger.

  • Loading branch information...
commit 9d83d7b00928dd5f79bccac4ab3d87bbdff56e7d 1 parent 80d0821
@heshanlk heshanlk authored
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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.