Editing metadata in edited(locked) playlist is allowed now.
This commit is contained in:
parent
629e6529cd
commit
7b3a7bcb57
1 changed files with 4 additions and 2 deletions
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: tomas $
|
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 $
|
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
|
* Core of LiveSupport file storage module
|
||||||
*
|
*
|
||||||
* @author $Author: tomas $
|
* @author $Author: tomas $
|
||||||
* @version $Revision: 1.44 $
|
* @version $Revision: 1.45 $
|
||||||
* @see Alib
|
* @see Alib
|
||||||
*/
|
*/
|
||||||
class BasicStor extends Alib{
|
class BasicStor extends Alib{
|
||||||
|
@ -647,11 +647,13 @@ class BasicStor extends Alib{
|
||||||
{
|
{
|
||||||
$ac =& StoredFile::recall($this, $id);
|
$ac =& StoredFile::recall($this, $id);
|
||||||
if($this->dbc->isError($ac)) return $ac;
|
if($this->dbc->isError($ac)) return $ac;
|
||||||
|
/* disabled - html ui change only nonimportant categories
|
||||||
if($ac->isEdited()){
|
if($ac->isEdited()){
|
||||||
return PEAR::raiseError(
|
return PEAR::raiseError(
|
||||||
'BasicStor::bsSetMetadataValue: is edited', GBERR_LOCK
|
'BasicStor::bsSetMetadataValue: is edited', GBERR_LOCK
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
$res = $ac->md->setMetadataValue(
|
$res = $ac->md->setMetadataValue(
|
||||||
$category, $value, $lang, $mid, $container);
|
$category, $value, $lang, $mid, $container);
|
||||||
if($this->dbc->isError($res)) return $res;
|
if($this->dbc->isError($res)) return $res;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue