Diff for /loncom/metadata_database/LONCAPA/lonmetadata.pm between versions 1.23 and 1.25

version 1.23, 2007/07/25 23:17:49 version 1.25, 2007/12/07 22:31:08
Line 488  sub store_metadata { Line 488  sub store_metadata {
   
 =pod  =pod
   
 =item ()  =item lookup_metadata()
   
 Inputs: database handle ($dbh) and a hash or hash reference containing   Inputs: database handle ($dbh) and a hash or hash reference containing 
 metadata which will be used for a search.  metadata which will be used for a search.
Line 1183  sub process_allusers_data { Line 1183  sub process_allusers_data {
         if ($udom eq '' || $uname eq '' ) {          if ($udom eq '' || $uname eq '' ) {
             $error = 'No domain and/or username specified';              $error = 'No domain and/or username specified';
         } else {          } else {
             $delitem = 'domain = '.$dbh->quote($udom).' AND username = '.              $delitem = 'domain = '.$dbh->quote($udom).' AND username '.
                        $dbh->quote($uname);                         'COLLATE latin1_general_cs = '.$dbh->quote($uname);
             $error=&delete_metadata($dbh,$newnames->{'allusers'},$delitem);              $error=&delete_metadata($dbh,$newnames->{'allusers'},$delitem);
         }          }
         if (defined($error)) {          if (defined($error)) {

Removed from v.1.23  
changed lines
  Added in v.1.25


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>