Deprecate is_grouping in favor of isStory

This commit is contained in:
Benoît Burnichon
2015-07-13 18:14:51 +02:00
parent 2107cd28df
commit c97eedd40f
20 changed files with 43 additions and 43 deletions

View File

@@ -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');
}