[LON-CAPA-cvs] cvs: loncom /interface lonexttool.pm

raeburn raeburn at source.lon-capa.org
Thu Dec 7 11:06:04 EST 2017


raeburn		Thu Dec  7 16:06:04 2017 EDT

  Modified files:              
    /loncom/interface	lonexttool.pm 
  Log:
  - Bug 6754 LON-CAPA as LTI Consumer
    - Use correct subroutine name to fetch signature for unique identifier.
  
  
Index: loncom/interface/lonexttool.pm
diff -u loncom/interface/lonexttool.pm:1.9 loncom/interface/lonexttool.pm:1.10
--- loncom/interface/lonexttool.pm:1.9	Thu Dec  7 15:36:34 2017
+++ loncom/interface/lonexttool.pm	Thu Dec  7 16:06:04 2017
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Launch External Tool Provider (LTI)
 #
-# $Id: lonexttool.pm,v 1.9 2017/12/07 15:36:34 raeburn Exp $
+# $Id: lonexttool.pm,v 1.10 2017/12/07 16:06:04 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -275,7 +275,7 @@
                 $ltiparams{'ext_ims_lis_basic_outcome_url'} = $ltiparams{'lis_outcome_service_url'};
                 if ($gradesecret) {
                     my $uniqid = $digest_symb.':::'.$digest_user.':::'.$env{'request.course.id'};
-                    $ltiparams{'lis_result_sourcedid'} = &LONCAPA::ltiutils::get_unique_callback($gradesecret,$uniqid); 
+                    $ltiparams{'lis_result_sourcedid'} = &LONCAPA::ltiutils::get_service_id($gradesecret,$uniqid); 
                 }
             }
             if ($roster) {
@@ -283,7 +283,7 @@
                     $ltiparams{'ext_ims_lis_memberships_url'} = $crsprotocol.'://'.$crshostname.'/adm/service/roster';
                     if ($rostersecret) {
                         my $uniqid = $digest_symb.':::'.$env{'request.course.id'};
-                        $ltiparams{'ext_ims_lis_memberships_id'} = &LONCAPA::ltiutils::get_unique_callback($rostersecret,$uniqid);
+                        $ltiparams{'ext_ims_lis_memberships_id'} = &LONCAPA::ltiutils::get_service_id($rostersecret,$uniqid);
                     }
                 }
             }




More information about the LON-CAPA-cvs mailing list