parent
5e819550c3
commit
d58bd4c085
|
@ -158,7 +158,7 @@ class Application_Service_PodcastService
|
||||||
$newBl = new Application_Model_Block();
|
$newBl = new Application_Model_Block();
|
||||||
$newBl->setCreator(Application_Model_User::getCurrentUser()->getId());
|
$newBl->setCreator(Application_Model_User::getCurrentUser()->getId());
|
||||||
$newBl->setName($title);
|
$newBl->setName($title);
|
||||||
$newBl->setDescription('Auto-generated smartblock for podcast');
|
$newBl->setDescription(_("Auto-generated smartblock for podcast"));
|
||||||
$newBl->saveType('dynamic');
|
$newBl->saveType('dynamic');
|
||||||
// limit the smartblock to 1 item
|
// limit the smartblock to 1 item
|
||||||
$row = new CcBlockcriteria();
|
$row = new CcBlockcriteria();
|
||||||
|
|
Loading…
Reference in New Issue