Editing metadata in edited(locked) playlist is allowed now.

This commit is contained in:
tomas 2005-03-21 01:36:12 +00:00
parent 629e6529cd
commit 7b3a7bcb57

View file

@ -23,7 +23,7 @@
Author : $Author: tomas $
Version : $Revision: 1.44 $
Version : $Revision: 1.45 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/BasicStor.php,v $
------------------------------------------------------------------------------*/
@ -53,7 +53,7 @@ require_once "Transport.php";
* Core of LiveSupport file storage module
*
* @author $Author: tomas $
* @version $Revision: 1.44 $
* @version $Revision: 1.45 $
* @see Alib
*/
class BasicStor extends Alib{
@ -647,11 +647,13 @@ class BasicStor extends Alib{
{
$ac =& StoredFile::recall($this, $id);
if($this->dbc->isError($ac)) return $ac;
/* disabled - html ui change only nonimportant categories
if($ac->isEdited()){
return PEAR::raiseError(
'BasicStor::bsSetMetadataValue: is edited', GBERR_LOCK
);
}
*/
$res = $ac->md->setMetadataValue(
$category, $value, $lang, $mid, $container);
if($this->dbc->isError($res)) return $res;