From 2e819f0142a2abf3340083470a378a488c0971d5 Mon Sep 17 00:00:00 2001 From: Samuel Georges Date: Sat, 20 Feb 2016 08:19:14 +1100 Subject: [PATCH] Remove deprecated method --- .../backend/behaviors/RelationController.php | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/modules/backend/behaviors/RelationController.php b/modules/backend/behaviors/RelationController.php index 537e01983..028452e85 100644 --- a/modules/backend/behaviors/RelationController.php +++ b/modules/backend/behaviors/RelationController.php @@ -613,8 +613,6 @@ class RelationController extends ControllerBehavior $this->relationObject->addConstraints(); } - $this->controller->relationExtendQuery($query, $this->field); - /* * Allows pivot data to enter the fray */ @@ -765,8 +763,6 @@ class RelationController extends ControllerBehavior if (count($existingIds)) { $query->whereNotIn($this->relationModel->getQualifiedKeyName(), $existingIds); } - - $this->controller->relationExtendQuery($query, $this->field); }); } @@ -1204,20 +1200,6 @@ class RelationController extends ControllerBehavior // Overrides // - /** - * !!!! - * !!!! WARNING: DO NOT USE - This method is scheduled to be removed - * !!!! - * - * Controller override: Extend the query used for populating the list - * after the default query is processed. - * @param October\Rain\Database\Builder $query - * @param string $field - */ - public function relationExtendQuery($query, $field) - { - } - /** * Provides an opportunity to manipulate the view widget. * @param Backend\Classes\WidgetBase $widget