--- loncom/publisher/lonpublisher.pm 2007/07/13 20:11:27 1.227 +++ loncom/publisher/lonpublisher.pm 2007/09/24 13:59:09 1.229 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Publication Handler # -# $Id: lonpublisher.pm,v 1.227 2007/07/13 20:11:27 albertel Exp $ +# $Id: lonpublisher.pm,v 1.229 2007/09/24 13:59:09 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -841,8 +841,9 @@ sub store_metadata { if (($metadata{'obsolete'}) || ($metadata{'copyright'} eq 'priv') || ($metadata{'copyright'} eq 'custom')) { # remove this entry - $status=&LONCAPA::lonmetadata::delete_metadata($dbh,undef, - $metadata{'url'}); + my $delitem = 'url = '.$dbh->quote($metadata{'url'}); + $status = &LONCAPA::lonmetadata::delete_metadata($dbh,undef,$delitem); + } else { $status = &LONCAPA::lonmetadata::update_metadata($dbh,undef,undef, \%metadata); @@ -1130,6 +1131,11 @@ sub publish { '
'. &mt('If this resource is in active use, student performance data from the previous version may become inaccessible.').'
'. + &mt('Copyright/distribution option "Private" is no longer supported. Select another option from below. Consider "Custom Rights" for maximum control over the usage of your resource.').'