CC-4249: Playlist: Playlist's length doesn't update if it contains a smart playlist which the length is changed
-fixed
This commit is contained in:
parent
1f7a6fdc63
commit
82f2b2e7c3
2 changed files with 2 additions and 25 deletions
|
@ -452,8 +452,7 @@ EOT;
|
|||
|
||||
$this->con->commit();
|
||||
|
||||
//check if block is in any playlists and update the playlist's length
|
||||
Application_Model_Playlist::updatePlaylistsLengthWithBlock($this->id, $this->getLength());
|
||||
$this->updateBlockLengthInAllPlaylist();
|
||||
|
||||
} catch (Exception $e) {
|
||||
$this->con->rollback();
|
||||
|
@ -567,9 +566,7 @@ EOT;
|
|||
|
||||
$this->con->commit();
|
||||
|
||||
|
||||
//check if block is in any playlists and update the playlist's length
|
||||
Application_Model_Playlist::updatePlaylistsLengthWithBlock($this->id, $this->getLength());
|
||||
$this->updateBlockLengthInAllPlaylist();
|
||||
|
||||
} catch (Exception $e) {
|
||||
$this->con->rollback();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue