mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
Deprecate is_grouping in favor of isStory
This commit is contained in:
@@ -127,7 +127,7 @@ class PropertyController extends Controller
|
||||
}
|
||||
|
||||
//update children if current record is a story
|
||||
if (isset($applyStatusToChildren[$sbasId]) && $record->is_grouping()) {
|
||||
if (isset($applyStatusToChildren[$sbasId]) && $record->isStory()) {
|
||||
foreach ($record->get_children() as $child) {
|
||||
if (null !== $updatedStatus = $this->updateRecordStatus($child, $postStatus)) {
|
||||
$updated[$record->get_serialize_key()] = $updatedStatus;
|
||||
|
Reference in New Issue
Block a user