CC-4186: Playlist Builder -> Smart Playlist : The static Smart Playlist's length value will be empty if no file meet the criteria.

- fixed
This commit is contained in:
James 2012-08-09 14:12:30 -04:00
parent 825abca61b
commit ef0e800c92
4 changed files with 6 additions and 5 deletions

View file

@ -883,6 +883,7 @@ EOT;
public function deleteAllFilesFromBlock()
{
CcBlockcontentsQuery::create()->findByDbBlockId($this->id)->delete();
$this->block->reload();
}
// smart block functions start