[LON-CAPA-cvs] cvs: modules /msu localenroll.pm

raeburn raeburn at source.lon-capa.org
Thu Jun 17 13:12:10 EDT 2021


raeburn		Thu Jun 17 17:12:10 2021 EDT

  Modified files:              
    /modules/msu	localenroll.pm 
  Log:
  - Integration with MSU campus information systems
    Fix quotes
  
  
Index: modules/msu/localenroll.pm
diff -u modules/msu/localenroll.pm:1.80 modules/msu/localenroll.pm:1.81
--- modules/msu/localenroll.pm:1.80	Thu Jun 17 16:43:07 2021
+++ modules/msu/localenroll.pm	Thu Jun 17 17:12:10 2021
@@ -1,6 +1,6 @@
 # functions to glue school database system into Lon-CAPA for
 # automated enrollment
-# $Id: localenroll.pm,v 1.80 2021/06/17 16:43:07 raeburn Exp $
+# $Id: localenroll.pm,v 1.81 2021/06/17 17:12:10 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -87,15 +87,15 @@
     }
 
     if ($type eq 'RO') {
-        $DB_PATH = "dbi:Sybase:server=ESDB1;database=RO_ClassList";
+        $DB_PATH = 'dbi:Sybase:server=ESDB1;database=RO_ClassList';
     } elsif ($type eq 'SIS') {
-        $DB_PATH = "dbi:Sybase:server=msudata;database=SISInfo";
+        $DB_PATH = 'dbi:Sybase:server=msudata;database=SISInfo';
     } elsif ($type eq 'HR') {
-        $DB_PATH = "dbi:Sybase:server=msudata;database=HR";
+        $DB_PATH = 'dbi:Sybase:server=msudata;database=HR';
     } elsif ($type eq 'SISCS') {
-        $DB_PATH = ''dbi:Sybase:server=MSUEDW;database=SISCS';
+        $DB_PATH = 'dbi:Sybase:server=MSUEDW;database=SISCS';
     } elsif ($type eq 'LC') {
-        $DB_PATH = "DBI:mysql:msuenroll";
+        $DB_PATH = 'DBI:mysql:msuenroll';
     }
 
     my $dbh;




More information about the LON-CAPA-cvs mailing list