cc-3936: Ran propgen to generate schema changes

This commit is contained in:
Rudi Grinberg 2012-08-23 13:49:49 -04:00
parent e2d9f220f8
commit 996dcfd35f
5 changed files with 9 additions and 6 deletions

View file

@ -466,6 +466,9 @@ class Application_Model_StoredFile
$storedFile->_file = $file;
// removed "//" in the path. Always use '/' for path separator
// TODO : it might be better to just call OsPath::normpath on the file
// path. Also note that mediamonitor normalizes the paths anyway
// before passing them to php so it's not necessary to do this at all
$filepath = str_replace("//", "/", $md['MDATA_KEY_FILEPATH']);
$res = $storedFile->setFilePath($filepath);
if ($res === -1) {