mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 22:13:13 +00:00
Deprecate is_grouping in favor of isStory
This commit is contained in:
@@ -96,7 +96,7 @@ class WorkzoneController extends Controller
|
||||
$element = explode('_', $element);
|
||||
$story = new \record_adapter($this->app, $element[0], $element[1]);
|
||||
|
||||
if (!$story->is_grouping()) {
|
||||
if (!$story->isStory()) {
|
||||
throw new \Exception('You can only attach stories');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user