Skip to content

Commit

Permalink
issues remotelearner#1 and remotelearner#2 from barryspace:
Browse files Browse the repository at this point in the history
  • Loading branch information
rrusso committed Jul 1, 2014
1 parent db8944e commit 1df6d45
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,8 @@ public function type_config_form($mform, $classname = 'kaltura') {

}

$mform->setType('rootcategory', PARAM_TEXT);

// List Kaltura metadata profile information
$profile = repository_kaltura_get_metadata_profile_info($connection);

Expand All @@ -246,7 +248,7 @@ public function type_config_form($mform, $classname = 'kaltura') {

} else {
// Check if the metadata profile id exists in the mdl_config_table
$profileid = get_config(REPOSITORY_KALTURA_PLUGIN_NAME, 'metadata_profile_id');
$profileid = empty($repoconfig->metadata_profile_id) ? null : $repoconfig->metadata_profile_id;

// If empty then set the profile id
if (empty($profileid)) {
Expand Down Expand Up @@ -806,6 +808,8 @@ public static function type_config_form($mform, $classname = 'kaltura') {

}

$mform->setType('rootcategory', PARAM_TEXT);

// List Kaltura metadata profile information
$profile = repository_kaltura_get_metadata_profile_info($connection);

Expand Down

0 comments on commit 1df6d45

Please sign in to comment.